{"_id":"npm-stats","_rev":"40-e3e22ddfe1752365d0c8e51653feb4f8","name":"npm-stats","description":"Convenience module for getting back data from an NPM registry","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.1":{"name":"npm-stats","version":"0.0.1","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","nano":"~3.3.8"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","_id":"npm-stats@0.0.1","dist":{"shasum":"c6031430626eaf368ac1b7ceadba9801b7e9582d","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-0.0.1.tgz","integrity":"sha512-vlc36YPBBsMhcv0ELvaqBYmr6etmsxy5qJVAbTIObwFCMFe0cLOuF1yvYV6do6Lxfbclpnu2roZVkukeTyfCVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQKvtTSkb4ys5hO29kRYcboHRJMS94taaij4jaDxBI/AIgUpoSHJRtdyxfmZDu6BcfvTC7YQdKOP1Amn8G3JJBSPA="}]},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{}},"0.1.0":{"name":"npm-stats","version":"0.1.0","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","nano":"~3.3.8"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","_id":"npm-stats@0.1.0","dist":{"shasum":"dc6e5e55ba1c65932c076baaf93eee19143300b6","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-0.1.0.tgz","integrity":"sha512-r7QuMLYM1wTT4M/MgejeWXI2fXhz0AuHGuuhixmiTNBGTmlv174vLZbLhI+fUNe/ndDiJKtOqU0HPegs8wiugg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1bjsrbZh1Ha7UFlOoBR+btHCXjm2CA5zwsGc2ls8e/AiEA2Y6QkRYFsN1x/SDm4fez7y37Gs5uDwtLUOFSVSG3igw="}]},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{}},"0.2.0":{"name":"npm-stats","version":"0.2.0","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","nano":"~3.3.8"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","_id":"npm-stats@0.2.0","dist":{"shasum":"93cfd984a26262a11ec7d77ea87243b42e27939f","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-0.2.0.tgz","integrity":"sha512-bE+5tLFlKAxAF1KVROfGrW0T5m4ZpwkOwosHJ7evMhN+NVwvD8bjP/M2DuSj2OTsUM3iKBUhhyzrTfWVxiIHXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZT5Sm+c2ZaAqdnWMcTsRDqNu8QzobZI8YlMatphfU5AiA1foFuAEdZ5hXAnNpfZHpoDAGC4EwRZn0igwotv7jXqQ=="}]},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{}},"0.2.1":{"name":"npm-stats","version":"0.2.1","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","nano":"~3.3.8"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","_id":"npm-stats@0.2.1","dist":{"shasum":"2f458ddf409951b6651b60efa5c842adc1dd2e0d","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-0.2.1.tgz","integrity":"sha512-vBsFyarsoFjlsBzt/dCG08MC1z17haB7tPNpr8PnGAB1kVan8hh755/dpzGMcqFFLBVEjHh1kjDT/URcPi2RcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICOiaKpkQQ8CQ9OUqTCtpb66qgg3aAGi7KhMkQcFPCsRAiB8yX13twVNfOZCYxbY1al1UpX6zHJNx+DEsWXmxjbWfg=="}]},"_npmVersion":"1.1.71","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{}},"0.3.0":{"name":"npm-stats","version":"0.3.0","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","nano":"~3.3.8"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","bugs":{"url":"https://github.com/hughsk/npm-stats/issues"},"homepage":"https://github.com/hughsk/npm-stats","_id":"npm-stats@0.3.0","dist":{"shasum":"8540cadd79bbb321f5df9dc0da1a172f613b9002","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-0.3.0.tgz","integrity":"sha512-VtWJe7KsI1Mrd/Jn55tVNX0abP5H6Rc3dj5b8pw0Ilc/5Q99seWl6EpqGMIqzrxP2TOviLCWjnxpNOSieEFxNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYX4hGLbV1F7HTXsa9mLs4gXF2bhoLvw2NASrD0KHXmgIgfKJzp0KCwcVMtCb05k87AV5YrtgrWSIbIi4FPrTKKPM="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{}},"1.0.0":{"name":"npm-stats","version":"1.0.0","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","nano":"~3.3.8"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","gitHead":"fbf84ccd1501b35bbd2babbc25e7229a7c4679e1","bugs":{"url":"https://github.com/hughsk/npm-stats/issues"},"homepage":"https://github.com/hughsk/npm-stats","_id":"npm-stats@1.0.0","_shasum":"8fc9edf5d669d2e917fe0d02b813dd0dd65480b5","_from":".","_npmVersion":"2.0.1","_nodeVersion":"0.10.28","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"8fc9edf5d669d2e917fe0d02b813dd0dd65480b5","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-1.0.0.tgz","integrity":"sha512-3a+k1k2aCtTzS3cDFih0OHna0JEAAW+8Ngc40SFHkoQtuy8mny8iaQHNwWAyOMXr7DuvFeXDLemraaXLkiWX2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX5QPFLKXwSG5SGJZfcIZzG7arSLIy+pjh9Z4/sBcRNwIgOBL63WBZ48cWSA8lUmJ+4VsmG3Iq4tz5+WuJgrtvsz8="}]},"directories":{}},"1.0.1":{"name":"npm-stats","version":"1.0.1","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","nano":"~3.3.8"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","gitHead":"4d05a27c8702ccc74562b6527b896cb286bc0c44","bugs":{"url":"https://github.com/hughsk/npm-stats/issues"},"homepage":"https://github.com/hughsk/npm-stats","_id":"npm-stats@1.0.1","_shasum":"620d10cceb92b3ad61baf5b266c9c22bb754a1ef","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.28","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"620d10cceb92b3ad61baf5b266c9c22bb754a1ef","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-1.0.1.tgz","integrity":"sha512-dSf0Yn71BLowbO2Nr3vQPcg7ToWeXOw0HOowKEMiwD79ssGnJWfcNVAr5gZvABKweNCXJNKEOTbTvkr2a+EsfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAgFFPT067hhDIDpS4EkdjnhDqgA/xWwas0FVH3EfX+eAiEA3Tw0jn6I++VngmnyeJhIpPXBpHqweFK6/m6Fumsq/0g="}]},"directories":{}},"1.1.0":{"name":"npm-stats","version":"1.1.0","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","stream-reduce":"~1.0.3","through":"~2.3.6","nano":"~3.3.8","request":"~2.45.0","lodash.merge":">= 2.4.1"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","gitHead":"8e4e99bcfbdbced0c8d481c2e80670f90aee2146","bugs":{"url":"https://github.com/hughsk/npm-stats/issues"},"homepage":"https://github.com/hughsk/npm-stats","_id":"npm-stats@1.1.0","_shasum":"735bb11825d91d867c404baa59dc800da8dfb112","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.28","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"zeke","email":"zeke@sikelianos.com"},{"name":"dsc","email":"dsc@less.ly"}],"dist":{"shasum":"735bb11825d91d867c404baa59dc800da8dfb112","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-1.1.0.tgz","integrity":"sha512-k6aaval0lDbi+lbvP+iQ2Mz7J/pfE121Y6wD/70a2eLXXBF8rGoJv6ZiEA1fvjf69+PBeEXiX/jxpO4etPFjyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnYU3jJJEaYcWcU6jzVll5z9hYbFgBlGOotVIWkqgztgIhAPri3yaj0v/wt6JFnoVHgTpEfRgjaIyy6ortFKFahg2P"}]},"directories":{}},"1.1.1":{"name":"npm-stats","version":"1.1.1","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"event-stream":"~3.0.12","JSONStream":"~0.6.2","stream-reduce":"~1.0.3","through":"~2.3.6","nano":"~3.3.8","request":"~2.45.0","lodash.merge":"~3.3.2"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","gitHead":"505974c809d02c74ba5dcf535d8350673da400bf","bugs":{"url":"https://github.com/hughsk/npm-stats/issues"},"homepage":"https://github.com/hughsk/npm-stats#readme","_id":"npm-stats@1.1.1","_shasum":"1437ded606051e1888d03c6c5166c35996948776","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"dist":{"shasum":"1437ded606051e1888d03c6c5166c35996948776","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-1.1.1.tgz","integrity":"sha512-v+SGU7dO8R8np3kw00e1tGQUtdMDVDq4Dts9wWsFjWcb3ZbKQGGkm02L61lsp0VO9ABTlY41eiN58/HntwUnqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVpIeMO7S9MNrdAUAWDfR3qg80TY7SAoIx+FXQDnHpkgIgTwQQZZSmKxkcnU2rkcf9laYmcpa2vi13NbVASuxcuHs="}]},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"zeke","email":"zeke@sikelianos.com"},{"name":"dsc","email":"dsc@less.ly"}],"directories":{}},"1.2.0":{"name":"npm-stats","version":"1.2.0","description":"Convenience module for getting back data from an NPM registry","main":"index.js","dependencies":{"JSONStream":"~0.6.2","event-stream":"~3.0.12","lodash.merge":"~3.3.2","nano":"^6.2.0","request":"~2.45.0","stream-reduce":"~1.0.3","through":"~2.3.6"},"devDependencies":{"chai":"^3.5.0","tap":"^5.4.2"},"scripts":{"test":"tap --coverage ./test.js"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"license":"MIT","gitHead":"5949bd1ec2e01b842af0564682212ee55fef6a07","bugs":{"url":"https://github.com/hughsk/npm-stats/issues"},"homepage":"https://github.com/hughsk/npm-stats#readme","_id":"npm-stats@1.2.0","_shasum":"e4f5dc78f5c64b8da50e8fcbba70351eb6c2875e","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"dist":{"shasum":"e4f5dc78f5c64b8da50e8fcbba70351eb6c2875e","tarball":"https://registry.npmjs.org/npm-stats/-/npm-stats-1.2.0.tgz","integrity":"sha512-PxTtzY9HGxiV3m4UgtFDB8dimsbeFm0vFYV3VgM1KO8hF6hD2G4FNBtj0pbCaBP+Fl5vy7d5t3BJfBGlr3u5tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCscFqQInAwRxC7KsKzhsVjq0OFLgv0n767vuTMVvyiOAIhANhxrjMuV919qPtHi2dKT4+ACVsfbt2/unklwUtEZMF9"}]},"maintainers":[{"name":"bcoe","email":"ben@npmjs.com"},{"name":"dsc","email":"dsc@less.ly"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"zeke","email":"zeke@sikelianos.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/npm-stats-1.2.0.tgz_1454378331107_0.44320208858698606"},"directories":{}}},"readme":"# npm-stats #\n\nConvenience module for getting back data from an NPM registry.\nAll of the methods return a JSON stream, and/or take a callback.\nWhere specified, some methods take an optional options object as well.\n\n## API ##\n\n**registry = require('npm-stats')([url, options])**\n\nReturns a new registry instance,\ndefaulting to [isaacs.iriscouch.com](https://isaacs.iriscouch.com/).\n\nOptions:\n\n* `dirty`: pass this as true to disable data cleaning, instead getting\n  the raw data direct from NPM's CouchDB.\n* `modules`: the database to use for retrieving modules. Defaults\n  to \"registry\".\n* `downloads`: the database to use for retrieving download data. Defaults\n  to \"downloads\".\n* `users`: the database to use for retrieving users. Defaults to \"users\".\n\n**registry.list()**\n\nReturns an array containing every module currently in the chosen NPM registry.\n\n**registry.listByDate(options)**\n\nGet a list of each module in the chosen NPM registry, sorted by date last\nupdated, in ascending order.\n\nYou can also pass the following options:\n\n* `since`: only include modules updated since this date.\n* `until`: only include modules updated before this date.\n\n### Keywords ###\n\n**registry.keyword(name).count()**\n\nGet the number of modules using a specific keyword.\n\n**registry.keyword(name).list()**\n\nGet a list of modules using a specific keyword.\n\n### Users ###\n\n**registry.user(name).count()**\n\nGet the number of modules a user has authored.\n\n**registry.user(name).list()**\n\nGet a list of the modules a user has authored.\n\n**registry.user(name).starred()**\n\nGet a list of the modules a user has starred.\n\n### Modules ###\n\n**registry.module(name).info()**\n\nReturns the data normally accessible from\n`https://registry.npmjs.org/:pkg`.\n\n**registry.module(name).version(version)**\n\nReturns the data normally accessible from\n`http://registry.npmjs.org/:pkg/:version`.\n\n**registry.module(name).downloads()**\n\nReturns a list of download counts for the module, by date, e.g.:\n\n``` json\n[\n  { \"date\": \"2012-12-10\", \"value\": 64 },\n  { \"date\": \"2012-12-11\", \"value\": 82 }\n]\n```\n\nDays without a download are omitted. Options:\n\n* `since`: The earliest date to return download info from.\n* `until`: The latest date to return download info from.\n\n**registry.module(name).stars()**\n\nReturns a list of the users who have starred a module.\n\n**registry.module(name).dependents()**\n\nReturns a list of modules that depend on a module.\n\n**registry.module(name).latest()**\n\nReturns the latest `package.json` file for a module.\n\n**registry.module(name).field(name, [callback])**\n\nReturns a field from the latest `package.json` file for a module.\n\n**registry.module(name).size()**\n\nReturns data on the module's size, e.g.\n\n``` json\n{\n  \"_id\": \"browserify\",\n  \"size\": 26338241,\n  \"count\": 179,\n  \"avg\": 147141.01117318432\n}\n```\n","maintainers":[{"email":"ben@npmjs.com","name":"bcoe"},{"email":"hughskennedy@gmail.com","name":"hughsk"},{"email":"zeke@sikelianos.com","name":"zeke"},{"email":"dsc@less.ly","name":"dsc"}],"time":{"modified":"2022-06-22T09:13:23.770Z","created":"2013-03-24T11:13:35.037Z","0.0.1":"2013-03-24T11:13:39.592Z","0.1.0":"2013-03-30T06:46:41.539Z","0.2.0":"2013-03-31T05:54:31.513Z","0.2.1":"2013-12-18T00:04:29.783Z","0.3.0":"2013-12-26T13:45:51.275Z","1.0.0":"2014-09-22T14:30:51.502Z","1.0.1":"2014-10-27T21:16:49.260Z","1.1.0":"2014-11-12T01:46:03.699Z","1.1.1":"2016-01-13T21:48:17.594Z","1.2.0":"2016-02-02T01:58:53.259Z"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughskennedy.com/"},"repository":{"type":"git","url":"git://github.com/hughsk/npm-stats.git"},"users":{"stdarg":true,"matteofigus":true,"parroit":true,"zeke":true,"dsc":true,"niccai":true,"n370":true,"cubixsystem":true,"davidga":true,"mrahmadawais":true},"readmeFilename":"README.md","homepage":"https://github.com/hughsk/npm-stats#readme","keywords":["modules","npm","data","information","analytics","statistics","stats","users","keywords"],"bugs":{"url":"https://github.com/hughsk/npm-stats/issues"},"license":"MIT"}