summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/init-package-json/example/example-npm.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/init-package-json/example/example-npm.js')
-rw-r--r--deps/npm/node_modules/init-package-json/example/example-npm.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/deps/npm/node_modules/init-package-json/example/example-npm.js b/deps/npm/node_modules/init-package-json/example/example-npm.js
deleted file mode 100644
index 292da6a7a7..0000000000
--- a/deps/npm/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')
- })
-})