{"_id":"npm-updater","_rev":"2786538","name":"npm-updater","description":"check npm package update","dist-tags":{"latest":"3.0.3"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"time":{"modified":"2022-06-22T03:03:31.000Z","created":"2015-11-29T10:00:17.873Z","3.0.3":"2017-06-19T09:59:03.988Z","3.0.2":"2017-05-15T09:18:35.153Z","3.0.1":"2017-05-03T15:53:06.109Z","3.0.0":"2017-03-24T07:43:11.195Z","2.0.1":"2017-03-22T12:19:11.352Z","2.0.0":"2017-03-22T03:26:03.574Z","1.2.0":"2016-11-08T05:29:00.454Z","1.1.0":"2015-11-29T16:02:06.046Z","1.0.2":"2015-11-29T13:11:57.137Z","1.0.1":"2015-11-29T10:21:55.152Z","1.0.0":"2015-11-29T10:00:17.873Z"},"users":{},"author":{"name":"dead-horse","email":"dead_horse@qq.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"versions":{"3.0.3":{"name":"npm-updater","version":"3.0.3","description":"check npm package update","dependencies":{"chalk":"^1.1.3","co":"^4.6.0","configstore":"^3.0.0","debug":"^2.6.3","humanize-ms":"^1.2.0","semver-diff":"^2.1.0","urllib":"^2.21.2"},"devDependencies":{"autod":"^2.8.0","coffee":"^3.3.0","egg-bin":"^1","egg-ci":"^1.6.0","eslint":"^3.18.0","eslint-config-egg":"^3.2.0","mkdirp":"^0.5.1","rimraf":"^2.6.1","supertest":"^3.0.0","webstorm-disable-index":"^1.1.2"},"keywords":["npm","updater"],"engines":{"node":">=4.0.0"},"scripts":{"start":"node index.js","dev":"egg-bin dev","test":"npm run lint -- --fix && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"4, 6, 7"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"author":{"name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","gitHead":"0f2060bbc4462bbfc720c8cebf1f54b15bfa3462","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@3.0.3","_shasum":"afe650a903d3ea9ade5bf1146863d755e166f69d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"atian25","email":"atian25@qq.com"},"dist":{"shasum":"afe650a903d3ea9ade5bf1146863d755e166f69d","size":4841,"noattachment":false,"key":"/npm-updater/-/npm-updater-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-3.0.3.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-updater-3.0.3.tgz_1497866343848_0.15166189498268068"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:45.299Z","publish_time":1497866343988,"_cnpm_publish_time":1497866343988},"3.0.2":{"name":"npm-updater","version":"3.0.2","description":"check npm package update","dependencies":{"chalk":"^1.1.3","co":"^4.6.0","configstore":"^3.0.0","debug":"^2.6.3","humanize-ms":"^1.2.0","semver-diff":"^2.1.0","urllib":"^2.21.2"},"devDependencies":{"autod":"^2.8.0","coffee":"^3.3.0","egg-bin":"^1","egg-ci":"^1.6.0","eslint":"^3.18.0","eslint-config-egg":"^3.2.0","mkdirp":"^0.5.1","rimraf":"^2.6.1","supertest":"^3.0.0","webstorm-disable-index":"^1.1.2"},"keywords":["npm","updater"],"engines":{"node":">=4.0.0"},"scripts":{"start":"node index.js","dev":"egg-bin dev","test":"npm run lint -- --fix && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"4, 6, 7"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"author":{"name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","gitHead":"c7fe207dedbe96f1ef76fe92c3932f14e1aa5fc6","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@3.0.2","_shasum":"dffef5db433e76dd1e6445a4f326724721ff1caa","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"atian25","email":"atian25@qq.com"},"dist":{"shasum":"dffef5db433e76dd1e6445a4f326724721ff1caa","size":4752,"noattachment":false,"key":"/npm-updater/-/npm-updater-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-3.0.2.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/npm-updater-3.0.2.tgz_1494839913355_0.5700947085861117"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:45.180Z","publish_time":1494839915153,"_cnpm_publish_time":1494839915153},"3.0.1":{"name":"npm-updater","version":"3.0.1","description":"check npm package update","dependencies":{"chalk":"^1.1.3","co":"^4.6.0","configstore":"^3.0.0","debug":"^2.6.3","humanize-ms":"^1.2.0","semver-diff":"^2.1.0","urllib":"^2.21.2"},"devDependencies":{"autod":"^2.8.0","coffee":"^3.3.0","egg-bin":"^1","egg-ci":"^1.6.0","eslint":"^3.18.0","eslint-config-egg":"^3.2.0","mkdirp":"^0.5.1","rimraf":"^2.6.1","supertest":"^3.0.0","webstorm-disable-index":"^1.1.2"},"keywords":["npm","updater"],"engines":{"node":">=4.0.0"},"scripts":{"start":"node index.js","dev":"egg-bin dev","test":"npm run lint -- --fix && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"4, 6, 7"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"author":{"name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","gitHead":"2687f14061ed25c4adcb3e74513a50af25392884","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@3.0.1","_shasum":"168200a935c48790e37ddda1de086dec431c2d69","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.10.2","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"168200a935c48790e37ddda1de086dec431c2d69","size":4683,"noattachment":false,"key":"/npm-updater/-/npm-updater-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-3.0.1.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/npm-updater-3.0.1.tgz_1493826782679_0.47733691008761525"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:44.295Z","publish_time":1493826786109,"_cnpm_publish_time":1493826786109},"3.0.0":{"name":"npm-updater","version":"3.0.0","description":"check npm package update","dependencies":{"chalk":"^1.1.3","co":"^4.6.0","configstore":"^3.0.0","debug":"^2.6.3","humanize-ms":"^1.2.0","semver-diff":"^2.1.0","urllib":"^2.21.2"},"devDependencies":{"autod":"^2.8.0","coffee":"^3.3.0","egg-bin":"^1","egg-ci":"^1.6.0","eslint":"^3.18.0","eslint-config-egg":"^3.2.0","mkdirp":"^0.5.1","rimraf":"^2.6.1","supertest":"^3.0.0","webstorm-disable-index":"^1.1.2"},"keywords":["npm","updater"],"engines":{"node":">=4.0.0"},"scripts":{"start":"node index.js","dev":"egg-bin dev","test":"npm run lint -- --fix && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"4, 6, 7"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"author":{"name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","gitHead":"6717a81eeff26af7f78bb52fd88e41f08c18683f","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@3.0.0","_shasum":"83877610bd3943910ba27073e19671ef67fd6046","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.1","_npmUser":{"name":"atian25","email":"atian25@qq.com"},"dist":{"shasum":"83877610bd3943910ba27073e19671ef67fd6046","size":4326,"noattachment":false,"key":"/npm-updater/-/npm-updater-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-3.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/npm-updater-3.0.0.tgz_1490341389461_0.7739741164259613"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:43.432Z","publish_time":1490341391195,"_cnpm_publish_time":1490341391195},"2.0.1":{"name":"npm-updater","version":"2.0.1","description":"Prompt update of npm package","main":"index.js","scripts":{"autod":"autod --prefix '^' -w"},"files":["index.js"],"keywords":["npm","updater"],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"license":"MIT","dependencies":{"chalk":"^1.1.3","copy-to":"^2.0.1","debug":"^2.6.3","dotfile-config":"^1.0.1","humanize-ms":"^1.2.0","semver":"^5.3.0","urllib":"^2.21.2"},"devDependencies":{"autod":"2","git-pre-hooks":"1"},"git-pre-hooks":{"post-release":["npm publish"]},"engine":{"node":">=0.10"},"gitHead":"d5d906181c56320333dc1c8395b8647261f363c2","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@2.0.1","_shasum":"14611dd3e6911681ec6438a0de33a3128faf1b41","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"atian25","email":"atian25@qq.com"},"dist":{"shasum":"14611dd3e6911681ec6438a0de33a3128faf1b41","size":2571,"noattachment":false,"key":"/npm-updater/-/npm-updater-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-2.0.1.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-updater-2.0.1.tgz_1490185151052_0.16552552510984242"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:42.508Z","publish_time":1490185151352,"_cnpm_publish_time":1490185151352},"2.0.0":{"name":"npm-updater","version":"2.0.0","description":"Prompt update of npm package","main":"index.js","scripts":{"autod":"autod --prefix '^' -w"},"files":["index.js"],"keywords":["npm","updater"],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"license":"MIT","dependencies":{"chalk":"^1.1.3","copy-to":"^2.0.1","debug":"^2.6.3","dotfile-config":"^1.0.1","humanize-ms":"^1.2.0","semver":"^5.3.0","urllib":"^2.21.2"},"devDependencies":{"autod":"2","git-pre-hooks":"1"},"git-pre-hooks":{"post-release":["npm publish"]},"engine":{"node":">=0.10"},"gitHead":"dcaa116bfc0fcff3b3ecf90b19fbeb3bc802e0d1","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@2.0.0","_shasum":"de5f8b6ec0267f5d9c4ea39e9b461578193dcd89","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.9.1","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"de5f8b6ec0267f5d9c4ea39e9b461578193dcd89","size":2563,"noattachment":false,"key":"/npm-updater/-/npm-updater-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-2.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-updater-2.0.0.tgz_1490153163310_0.5577236423268914"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:41.633Z","publish_time":1490153163574,"_cnpm_publish_time":1490153163574},"1.2.0":{"name":"npm-updater","version":"1.2.0","description":"Prompt update of npm package","main":"index.js","scripts":{"autod":"autod --prefix '^' -w"},"files":["index.js"],"keywords":["npm","updater"],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"license":"MIT","dependencies":{"copy-to":"^2.0.1","debug":"^2.2.0","dotfile-config":"^1.0.1","humanize-ms":"^1.2.0","semver":"^5.3.0","urllib":"^2.17.0"},"devDependencies":{"autod":"2","git-pre-hooks":"1"},"git-pre-hooks":{"post-release":["npm publish"]},"engine":{"node":">=0.10"},"gitHead":"4d7bd73a153f55e90711f727a5c0d45eecfdefe1","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@1.2.0","_shasum":"e7f6c51eb705d36344924648f61396f6d2c5b875","_from":".","_npmVersion":"3.10.3","_nodeVersion":"4.4.7","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"e7f6c51eb705d36344924648f61396f6d2c5b875","size":2504,"noattachment":false,"key":"/npm-updater/-/npm-updater-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-1.2.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/npm-updater-1.2.0.tgz_1478582939888_0.6596778153907508"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:40.762Z","publish_time":1478582940454,"_cnpm_publish_time":1478582940454},"1.1.0":{"name":"npm-updater","version":"1.1.0","description":"Prompt update of npm package","main":"index.js","scripts":{"test":"make test"},"files":["index.js"],"keywords":["npm","updater"],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"license":"MIT","dependencies":{"copy-to":"~2.0.1","debug":"~2.2.0","dotfile-config":"~1.0.0","humanize-ms":"~1.0.1","semver":"~5.1.0","urllib":"~2.5.0"},"git-pre-hooks":{"post-release":["npm publish","tnpm sync --no-deps"]},"devDependencies":{"autod":"2","git-pre-hooks":"1"},"engine":{"node":">=0.10"},"gitHead":"b2f0920fed01916f78e6ac02ea5709aff1595c0a","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@1.1.0","_shasum":"aa94cd176b8dd16343b92a46db7f2c67a9cf4b66","_from":".","_npmVersion":"2.12.0","_nodeVersion":"4.0.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"aa94cd176b8dd16343b92a46db7f2c67a9cf4b66","size":2562,"noattachment":false,"key":"/npm-updater/-/npm-updater-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-1.1.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:39.887Z","publish_time":1448812926046,"_cnpm_publish_time":1448812926046},"1.0.2":{"name":"npm-updater","version":"1.0.2","description":"Prompt update of npm package","main":"index.js","scripts":{"test":"make test"},"files":["index.js"],"keywords":["npm","updater"],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"license":"MIT","dependencies":{"copy-to":"~2.0.1","debug":"~2.2.0","dotfile-config":"~1.0.0","humanize-ms":"~1.0.1","semver":"~5.1.0","urllib":"~2.5.0"},"git-pre-hooks":{"post-release":["npm publish","tnpm sync --no-deps"]},"devDependencies":{"autod":"2","git-pre-hooks":"1"},"engine":{"node":">=0.10"},"gitHead":"7e9f4165957282d965f9b186ce4c6cfe4530aa4d","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@1.0.2","_shasum":"91af651f4144a96cebf98cccd57ff112f1106a1f","_from":".","_npmVersion":"2.12.0","_nodeVersion":"4.0.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"91af651f4144a96cebf98cccd57ff112f1106a1f","size":2412,"noattachment":false,"key":"/npm-updater/-/npm-updater-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-1.0.2.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:39.014Z","publish_time":1448802717137,"_cnpm_publish_time":1448802717137},"1.0.1":{"name":"npm-updater","version":"1.0.1","description":"Prompt update of npm package","main":"index.js","scripts":{"test":"make test"},"files":["index.js"],"keywords":["npm","updater"],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"license":"MIT","dependencies":{"copy-to":"~2.0.1","debug":"~2.2.0","dotfile-config":"~1.0.0","humanize-ms":"~1.0.1","semver":"~5.1.0","urllib":"~2.5.0"},"git-pre-hooks":{"post-release":["npm publish","tnpm sync --no-deps"]},"devDependencies":{"autod":"2","git-pre-hooks":"1"},"engine":{"node":">=0.10"},"gitHead":"1348ec98b34c693726016663aea5d67969697724","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@1.0.1","_shasum":"c9251c8b0b77f49dbd8781baed7d9db7ab199437","_from":".","_npmVersion":"2.12.0","_nodeVersion":"4.0.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"c9251c8b0b77f49dbd8781baed7d9db7ab199437","size":2387,"noattachment":false,"key":"/npm-updater/-/npm-updater-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-1.0.1.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:38.145Z","publish_time":1448792515152,"_cnpm_publish_time":1448792515152},"1.0.0":{"name":"npm-updater","version":"1.0.0","description":"Prompt update of npm package","main":"index.js","scripts":{"test":"make test"},"files":["index.js"],"keywords":["npm","updater"],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/npm-updater.git"},"license":"MIT","dependencies":{"copy-to":"~2.0.1","debug":"~2.2.0","dotfile-config":"~1.0.0","humanize-ms":"~1.0.1","semver":"~5.1.0","urllib":"~2.5.0"},"devDependencies":{"autod":"2"},"engine":{"node":">=0.10"},"gitHead":"533da844ea37bef851b19f042584887832f940f6","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"homepage":"https://github.com/node-modules/npm-updater#readme","_id":"npm-updater@1.0.0","_shasum":"547f11d10163b4751d4b7ecd26e52dd030294a2e","_from":".","_npmVersion":"2.12.0","_nodeVersion":"4.0.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"547f11d10163b4751d4b7ecd26e52dd030294a2e","size":2328,"noattachment":false,"key":"/npm-updater/-/npm-updater-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/npm-updater/download/npm-updater-1.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T14:19:37.291Z","publish_time":1448791217873,"_cnpm_publish_time":1448791217873}},"readme":"# npm-updater\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/npm-updater.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/npm-updater\n[travis-image]: https://img.shields.io/travis/node-modules/npm-updater.svg?style=flat-square\n[travis-url]: https://travis-ci.org/node-modules/npm-updater\n[codecov-image]: https://codecov.io/gh/node-modules/npm-updater/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/node-modules/npm-updater\n[david-image]: https://img.shields.io/david/node-modules/npm-updater.svg?style=flat-square\n[david-url]: https://david-dm.org/node-modules/npm-updater\n[snyk-image]: https://snyk.io/test/npm/npm-updater/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/npm-updater\n[download-image]: https://img.shields.io/npm/dm/npm-updater.svg?style=flat-square\n[download-url]: https://npmjs.org/package/npm-updater\n\nCheck update of npm package.\n\n## Installation\n\n```bash\n$ npm i npm-updater --save\n```\n\n## Usage\n\n```js\nconst updater = require('npm-updater');\n\nupdater({\n  package: require('./package.json'),\n  level: 'major',\n}).then(result => {\n  console.log(result.name, result.version, result.current, result.type);\n});\n```\n\n### Options\n\n```js\n/**\n * check a package lastest version\n * @param {Object} options - query Object\n * @param {Object} options.name - package name, default get from parent package.\n * @param {Object} options.version - package current version, default get from parent package.\n * @param {Object} [options.package] - pass module's `package.json` object\n * @param {String} [options.registry] - publishConfig.registry || npm\n * @param {String} [options.tag] - compare with which tag, default to `latest`.\n * @param {String} [options.interval] - notify interval, default to 1d.\n * @param {Boolean} [options.abort] - If remote version changed, should we abort? default to `true`.\n * @param {String} [options.level] - abort level, default to `minor`.\n * @param {String} [options.updateMessage] - appending update message.\n * @param {Function} [options.formatter] - custom format fn, with args { name, version, current, isAbort, options }.\n * @return {Object} - { name, version, current, type, pkg, options }, type: latest, major, minor, patch, prerelease, build, null\n */\n ```\n\n ## Notice\n\nPlease make sure you pacakge's initial version is bigger than `1.0.0`.\n\n## License\n\nMIT","_attachments":{},"homepage":"https://github.com/node-modules/npm-updater#readme","bugs":{"url":"https://github.com/node-modules/npm-updater/issues"},"license":"MIT"}