diff options
Diffstat (limited to 'node_modules/init-package-json/example/example-npm.js')
-rw-r--r-- | node_modules/init-package-json/example/example-npm.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/node_modules/init-package-json/example/example-npm.js b/node_modules/init-package-json/example/example-npm.js deleted file mode 100644 index 292da6a7a..000000000 --- a/node_modules/init-package-json/example/example-npm.js +++ /dev/null @@ -1,11 +0,0 @@ -var init = require('../init-package-json.js') -var dir = process.cwd() -var npm = require('npm') - -npm.load(function (er, npm) { - if (er) throw er - init(dir, npm.config.get('init-module'), npm.config, function (er, data) { - if (er) throw er - console.log('written successfully') - }) -}) |