import-from
Install
$ npm install --save import-fromUsage
const importFrom = require('import-from');
// There is a file at `./foo/bar.js`
importFrom('foo', './bar');API
importFrom(fromDir, moduleId)
importFrom.silent(fromDir, moduleId)
fromDir
moduleId
Tip
Related
License
Last updated