{"name":"npm-keyword","version":"4.0.0","description":"Get a list of npm packages with a certain keyword","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/npm-keyword"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["npm","keyword","package","packages","pkg","registry","find","search"],"dependencies":{"got":"^4.1.1","object-assign":"^4.0.1","pinkie-promise":"^1.0.0","registry-url":"^3.0.3"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"9aea16144fbabe23723948e2b7dea8f77ce9c4bf","bugs":{"url":"https://github.com/sindresorhus/npm-keyword/issues"},"homepage":"https://github.com/sindresorhus/npm-keyword","_id":"npm-keyword@4.0.0","_shasum":"042c213dad4cf392533334a638074d19eb67a1f8","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"042c213dad4cf392533334a638074d19eb67a1f8","tarball":"http://registry-npm.ywwl.com/npm-keyword/download/npm-keyword-4.0.0.tgz","integrity":"sha512-nGaXB1nwhabWJbsUns08WRyDHxiFXHcB6A9AvJjId6Xyn8KYSj6lpukqjhnJLChbsWxUEBT3X8SaX+sM393vsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8tl0+sdWecziYyTkDKXaJsrNCbxcWbnmMHR2aXwhFgAiEAnDM4EigP5QU9r8m2Yht/FnJm7A5gXk3vnNWKNvYjbtw="}],"size":2085,"noattachment":false,"key":"/npm-keyword/-/npm-keyword-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# npm-keyword\n\n> Get a list of npm packages with keywords\n\n## Install\n\n```sh\nnpm install npm-keyword\n```\n\n## Usage\n\n```js\nimport {npmKeyword, npmKeywordNames, npmKeywordCount} from 'npm-keyword';\n\nconsole.log(await npmKeyword('gulpplugin'));\n//=> [{name: 'gulp-autoprefixer', description: '…'}, …]\n\nconsole.log(await npmKeywordNames('gulpplugin'));\n//=> ['gulp-autoprefixer', …]\n\nconsole.log(await npmKeywordCount('gulpplugin'));\n//=> 3457\n```\n\n## Caveat\n\nThe list of packages will contain a maximum of 250 packages matching the keywords. This limitation is caused by the [npm registry API](https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md#get-v1search).\n\n## API\n\n### npmKeyword(keywords, options?)\n\nReturns a promise for a list of packages having the specified keyword in their package.json `keywords` property.\n\n#### keywords\n\nType: `string | string[]`\\\nExample: `['string', 'camelcase']`\n\nOne or more keywords. Only matches packages that have *all* the given keywords.\n\n#### options\n\nType: `object`\n\n##### size\n\nType: `number`\\\nDefault: `250`\n\nLimits the amount of results.\n\n### npmKeywordNames(keywords, options?)\n\nReturns a promise for a list of package names.\n\n#### keywords\n\nType: `string | string[]`\\\nExample: `['string', 'camelcase']`\n\nOne or more keywords. Only matches packages that have *all* the given keywords.\n\n#### options\n\nType: `object`\n\n##### size\n\nType: `number`\\\nDefault: `250`\n\nLimits the amount of results.\n\n### npmKeywordCount(keywords)\n\nReturns a promise for the count of packages.\n\n#### keywords\n\nType: `string | string[]`\\\nExample: `['string', 'camelcase']`\n\nOne or more keywords. Only matches packages that have *all* the given keywords.\n\n## Related\n\n- [package-json](https://github.com/sindresorhus/package-json) - Get the package.json of a package from the npm registry\n- [npm-user](https://github.com/sindresorhus/npm-user) - Get user info of an npm user\n- [npm-email](https://github.com/sindresorhus/npm-email) - Get the email of an npm user\n","publish_time":1445116472081,"_cnpm_publish_time":1445116472081,"dist-tags":{"latest":"8.0.0"}}