make-module
3.0.0 • Public • Published make-module
Create a node module from a string of code, and maybe a file name.
npm install make-module
var file = path.join(__dirname, "./some-module.js");
var code = fs.readFileSync(file).toString();
var someModule = makeModule(code, file);
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 3.0.0
2
Version History
Package Sidebar
Install
Weekly Downloads