{ "_args": [ [ { "raw": "init-package-json@1.10.1", "scope": null, "escapedName": "init-package-json", "name": "init-package-json", "rawSpec": "1.10.1", "spec": "1.10.1", "type": "version" }, "/Users/rebecca/code/npm" ] ], "_from": "init-package-json@1.10.1", "_id": "init-package-json@1.10.1", "_inCache": true, "_location": "/init-package-json", "_nodeVersion": "4.6.1", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/init-package-json-1.10.1.tgz_1492823965061_0.8588907306548208" }, "_npmUser": { "name": "iarna", "email": "me@re-becca.org" }, "_npmVersion": "4.5.0", "_phantomChildren": { "read": "1.0.7" }, "_requested": { "raw": "init-package-json@1.10.1", "scope": null, "escapedName": "init-package-json", "name": "init-package-json", "rawSpec": "1.10.1", "spec": "1.10.1", "type": "version" }, "_requiredBy": [ "#USER", "/" ], "_resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-1.10.1.tgz", "_shasum": "cd873a167796befb99612b28762a0b6393fd8f6a", "_shrinkwrap": null, "_spec": "init-package-json@1.10.1", "_where": "/Users/rebecca/code/npm", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, "bugs": { "url": "https://github.com/npm/init-package-json/issues" }, "dependencies": { "glob": "^7.1.1", "npm-package-arg": "^4.0.0 || ^5.0.0", "promzard": "^0.3.0", "read": "~1.0.1", "read-package-json": "1 || 2", "semver": "2.x || 3.x || 4 || 5", "validate-npm-package-license": "^3.0.1", "validate-npm-package-name": "^3.0.0" }, "description": "A node module to get your node module started", "devDependencies": { "mkdirp": "^0.5.1", "npm": "^4.3.0", "rimraf": "^2.1.4", "tap": "^10.3.0" }, "directories": {}, "dist": { "shasum": "cd873a167796befb99612b28762a0b6393fd8f6a", "tarball": "https://registry.npmjs.org/init-package-json/-/init-package-json-1.10.1.tgz" }, "files": [ "default-input.js", "init-package-json.js" ], "gitHead": "b1501e048e2d6ae58d8e3b15967967f22f85122e", "homepage": "https://github.com/npm/init-package-json#readme", "keywords": [ "init", "package.json", "package", "helper", "wizard", "wizerd", "prompt", "start" ], "license": "ISC", "main": "init-package-json.js", "maintainers": [ { "name": "isaacs", "email": "isaacs@npmjs.com" }, { "name": "othiym23", "email": "ogd@aoaioxxysz.net" }, { "name": "iarna", "email": "me@re-becca.org" }, { "name": "zkat", "email": "kat@sykosomatic.org" } ], "name": "init-package-json", "optionalDependencies": {}, "readme": "# init-package-json\n\nA node module to get your node module started.\n\n[![Build Status](https://secure.travis-ci.org/npm/init-package-json.svg)](http://travis-ci.org/npm/init-package-json)\n\n## Usage\n\n```javascript\nvar init = require('init-package-json')\nvar path = require('path')\n\n// a path to a promzard module. In the event that this file is\n// not found, one will be provided for you.\nvar initFile = path.resolve(process.env.HOME, '.npm-init')\n\n// the dir where we're doin stuff.\nvar dir = process.cwd()\n\n// extra stuff that gets put into the PromZard module's context.\n// In npm, this is the resolved config object. Exposed as 'config'\n// Optional.\nvar configData = { some: 'extra stuff' }\n\n// Any existing stuff from the package.json file is also exposed in the\n// PromZard module as the `package` object. There will also be free\n// vars for:\n// * `filename` path to the package.json file\n// * `basename` the tip of the package dir\n// * `dirname` the parent of the package dir\n\ninit(dir, initFile, configData, function (er, data) {\n // the data's already been written to {dir}/package.json\n // now you can do stuff with it\n})\n```\n\nOr from the command line:\n\n```\n$ npm-init\n```\n\nSee [PromZard](https://github.com/npm/promzard) for details about\nwhat can go in the config file.\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/npm/init-package-json.git" }, "scripts": { "test": "tap test/*.js" }, "version": "1.10.1" }