{"name":"get-pkg","description":"Get the package.json for a project from npm.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/get-pkg","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/get-pkg.git"},"bugs":{"url":"https://github.com/jonschlinkert/get-pkg/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"min-request":"^1.4.1"},"devDependencies":{"mocha":"*"},"keywords":["get","json","module","npm","object","package","package.json","pkg","pkgs"],"verb":{"related":{"list":["get-pkgs","github-base"]},"reflinks":["get-pkgs"]},"gitHead":"ec1c5110b26981a19ba12d1fdf18af315faed8e9","_id":"get-pkg@0.2.1","_shasum":"efc33a49713940aa9ccafd8fc323e0ad520064c5","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"efc33a49713940aa9ccafd8fc323e0ad520064c5","tarball":"http://registry-npm.ywwl.com/get-pkg/download/get-pkg-0.2.1.tgz","integrity":"sha512-83iBsSqIu47OFw6plqwr0CoVpFw7XuCISdTeRq2Mwc+QdHn51XJJLBzuO0ubQ8sFbh4sLiLy1SD8wBsfHi4IEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh69amI4ZjRr8ykcBbO9vgZKrtujqwv5ZbMqG9unTCewIhAIJpExlKS/zA4VSk6NduIomBWVrWxDDu5yWNJUKuz8Tq"}],"size":2251,"noattachment":false,"key":"/get-pkg/-/get-pkg-0.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/get-pkg-0.2.1.tgz_1456913772256_0.25387170328758657"},"directories":{},"readme":"# get-pkg [![NPM version](https://img.shields.io/npm/v/get-pkg.svg?style=flat)](https://www.npmjs.com/package/get-pkg) [![NPM monthly downloads](https://img.shields.io/npm/dm/get-pkg.svg?style=flat)](https://npmjs.org/package/get-pkg) [![NPM total downloads](https://img.shields.io/npm/dt/get-pkg.svg?style=flat)](https://npmjs.org/package/get-pkg)\n\n> Get the package.json for a project from npm.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save get-pkg\n```\n\nAlso see [get-pkgs](https://github.com/jonschlinkert/get-pkgs), if you need to get more than one `package.json`.\n\n## Usage\n\n```js\nconst getPkg = require('get-pkg');\nconst data = await getPkg('generate')\n\nconsole.log(data);\n//=> { name: 'generate', ... }\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [get-pkgs](https://www.npmjs.com/package/get-pkgs): Get the package.json for an array of repos from the npm registry, optionally filtering properties… [more](https://github.com/jonschlinkert/get-pkgs) | [homepage](https://github.com/jonschlinkert/get-pkgs \"Get the package.json for an array of repos from the npm registry, optionally filtering properties using glob patterns.\")\n* [github-base](https://www.npmjs.com/package/github-base): Low-level methods for working with the GitHub API in node.js/JavaScript. | [homepage](https://github.com/jonschlinkert/github-base \"Low-level methods for working with the GitHub API in node.js/JavaScript.\")\n\n### Contributors\n\n| **Commits** | **Contributor** |\n| --- | --- |\n| 21 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2  | [doowb](https://github.com/doowb) |\n| 1  | [joakimbeng](https://github.com/joakimbeng) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2023, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on July 24, 2023._\n","publish_time":1456913775762,"_cnpm_publish_time":1456913775762,"dist-tags":{"latest":"2.0.0"}}