The npm packages are usually located in the folder:
npm runs
/usr/local/lib/node_modules//index.js
when loading the npm script that recalls
../index.js
example:
#!/usr/bin/env node
require('./../index.js');
/usr/local/lib/node_modules/
npm runs
/usr/local/lib/node_modules/
example:
#!/usr/bin/env node
require('./../index.js');
Comments
Post a Comment