{"_id":"latest-version","_rev":"3293014","name":"latest-version","description":"Get the latest version of an npm package","dist-tags":{"latest":"9.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2024-05-30T03:18:46.000Z","created":"2014-04-20T15:27:01.371Z","9.0.0":"2024-02-27T06:33:04.177Z","8.0.0":"2024-01-23T13:51:43.610Z","7.0.0":"2022-06-23T12:58:09.021Z","6.0.0":"2021-07-22T10:59:41.990Z","5.1.0":"2019-04-04T03:24:20.779Z","5.0.0":"2019-03-12T16:31:56.039Z","4.0.0":"2018-06-09T13:15:19.237Z","3.1.0":"2017-03-26T10:50:06.622Z","3.0.0":"2017-02-13T12:42:18.036Z","2.0.0":"2015-10-09T20:22:20.625Z","1.0.1":"2015-06-18T15:12:44.483Z","1.0.0":"2014-08-14T09:44:06.206Z","0.2.0":"2014-06-15T19:07:52.193Z","0.1.2":"2014-05-11T02:27:20.377Z","0.1.1":"2014-04-21T00:06:42.329Z","0.1.0":"2014-04-20T15:27:01.371Z"},"users":{"ljharb":true,"vwal":true,"parth-gajjar":true,"craigpatten":true,"rocket0191":true,"miadzadfallah":true,"zuojiang":true,"pixel67":true,"leizongmin":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"versions":{"9.0.0":{"name":"latest-version","version":"9.0.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^10.0.0"},"devDependencies":{"ava":"^6.1.1","semver":"^7.6.0","semver-regex":"^4.0.5","tsd":"^0.30.7","xo":"^0.57.0"},"types":"./index.d.ts","gitHead":"e550aac4704dd9e8991dd10e7fd72f9409ba3299","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@9.0.0","_nodeVersion":"21.6.2","_npmVersion":"9.2.0","dist":{"shasum":"e91ed216e7a4badc6f73b66c65adb46c58ec6ba1","size":1987,"noattachment":false,"key":"/latest-version/-/latest-version-9.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-9.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest-version_9.0.0_1709015584008_0.8265884095162157"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-27T06:33:04.177Z","publish_time":1709015584177,"_source_registry_name":"default","_cnpm_publish_time":1709015584177},"8.0.0":{"name":"latest-version","version":"8.0.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^9.0.0"},"devDependencies":{"ava":"^6.1.0","semver":"^7.5.4","semver-regex":"^4.0.5","tsd":"^0.30.4","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"cb09280a7ccfd464408dc1e6b2a31d7bf1452bdd","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@8.0.0","_nodeVersion":"21.5.0","_npmVersion":"9.2.0","dist":{"shasum":"1b2dcfe633ec1ffd2382c69a1bc3a855cbc5c2c6","size":1863,"noattachment":false,"key":"/latest-version/-/latest-version-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-8.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest-version_8.0.0_1706017903449_0.32025542925942574"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-23T13:51:43.610Z","publish_time":1706017903610,"_source_registry_name":"default","_cnpm_publish_time":1706017903610},"7.0.0":{"name":"latest-version","version":"7.0.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^8.1.0"},"devDependencies":{"ava":"^4.3.0","semver":"^7.3.7","semver-regex":"^4.0.5","tsd":"^0.21.0","typescript":"^4.7.4","xo":"^0.50.0"},"types":"./index.d.ts","gitHead":"b79a0ceb9997f8ceb5078626a64001b7b88799fa","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@7.0.0","_nodeVersion":"18.3.0","_npmVersion":"8.3.2","dist":{"shasum":"843201591ea81a4d404932eeb61240fe04e9e5da","size":2055,"noattachment":false,"key":"/latest-version/-/latest-version-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-7.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest-version_7.0.0_1655989088800_0.3989164028268477"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-23T14:20:57.056Z","publish_time":1655989089021,"_cnpm_publish_time":1655989089021},"6.0.0":{"name":"latest-version","version":"6.0.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12.20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^7.0.0"},"devDependencies":{"ava":"^3.15.0","semver":"^7.3.5","semver-regex":"^4.0.0","tsd":"^0.17.0","xo":"^0.42.0"},"gitHead":"a15d51093a674c638c80c85babdf7bdad878fc2d","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@6.0.0","_nodeVersion":"14.16.1","_npmVersion":"7.10.0","dist":{"shasum":"469fb95f1d588b38436c1ec8fec947b99ed268c7","size":2045,"noattachment":false,"key":"/latest-version/-/latest-version-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest-version_6.0.0_1626951581829_0.37111883295125647"},"_hasShrinkwrap":false,"publish_time":1626951581990,"_cnpm_publish_time":1626951581990},"5.1.0":{"name":"latest-version","version":"5.1.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^6.3.0"},"devDependencies":{"ava":"^1.4.1","semver":"^6.0.0","semver-regex":"^2.0.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"9d0f0b115870a11372f0382e24c5658a6bf1da3a","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@5.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"119dfe908fe38d15dfa43ecd13fa12ec8832face","size":2055,"noattachment":false,"key":"/latest-version/-/latest-version-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-5.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest-version_5.1.0_1554348260627_0.8781458674727018"},"_hasShrinkwrap":false,"publish_time":1554348260779,"_cnpm_publish_time":1554348260779},"5.0.0":{"name":"latest-version","version":"5.0.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^6.1.0"},"devDependencies":{"ava":"^1.3.1","semver":"^5.6.0","semver-regex":"^2.0.0","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"4126f4c050d81188e750f646f62ec5f7f040d0fd","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@5.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"04bc651abd4b921c6a78879db52cbb140dbd818f","size":1904,"noattachment":false,"key":"/latest-version/-/latest-version-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest-version_5.0.0_1552408315852_0.2114022830194484"},"_hasShrinkwrap":false,"publish_time":1552408316039,"_cnpm_publish_time":1552408316039},"4.0.0":{"name":"latest-version","version":"4.0.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^5.0.0"},"devDependencies":{"ava":"*","semver":"^5.4.1","semver-regex":"^2.0.0","xo":"*"},"gitHead":"9644131e0878181be89d4f546ef19905e283fdd7","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9542393ac55a585861a4c4ebc02389a0b4a9c332","size":1716,"noattachment":false,"key":"/latest-version/-/latest-version-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest-version_4.0.0_1528550119151_0.45115227361449994"},"_hasShrinkwrap":false,"publish_time":1528550119237,"_cnpm_publish_time":1528550119237},"3.1.0":{"name":"latest-version","version":"3.1.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^4.0.0"},"devDependencies":{"ava":"*","semver-regex":"^1.0.0","xo":"*"},"gitHead":"2181e0f3c18d71c43bc6656c9cd09ba9bccd6c68","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@3.1.0","_shasum":"a205383fea322b33b5ae3b18abee0dc2f356ee15","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a205383fea322b33b5ae3b18abee0dc2f356ee15","size":1684,"noattachment":false,"key":"/latest-version/-/latest-version-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/latest-version-3.1.0.tgz_1490525404742_0.793157483683899"},"directories":{},"publish_time":1490525406622,"_cnpm_publish_time":1490525406622,"_hasShrinkwrap":false},"3.0.0":{"name":"latest-version","version":"3.0.0","description":"Get the latest version of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/latest-version.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^3.0.0"},"devDependencies":{"ava":"*","semver-regex":"^1.0.0","xo":"*"},"gitHead":"6858116bcf3b17c19a9d1b81bc88b6765289ce75","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version#readme","_id":"latest-version@3.0.0","_shasum":"3104f008c0c391084107f85a344bc61e38970649","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3104f008c0c391084107f85a344bc61e38970649","size":1681,"noattachment":false,"key":"/latest-version/-/latest-version-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/latest-version-3.0.0.tgz_1486989736223_0.4567320039495826"},"directories":{},"publish_time":1486989738036,"_cnpm_publish_time":1486989738036,"_hasShrinkwrap":false},"2.0.0":{"name":"latest-version","version":"2.0.0","description":"Get the latest version of a npm package","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/latest-version"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["latest","version","npm","pkg","package","package.json","current","module"],"dependencies":{"package-json":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"851d3f43a06dcf6837f102a6f1cebd64d988ad68","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version","_id":"latest-version@2.0.0","_shasum":"56f8d6139620847b8017f8f1f4d78e211324168b","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"56f8d6139620847b8017f8f1f4d78e211324168b","size":1708,"noattachment":false,"key":"/latest-version/-/latest-version-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1444422140625,"_cnpm_publish_time":1444422140625,"_hasShrinkwrap":false},"1.0.1":{"name":"latest-version","version":"1.0.1","description":"Get the latest version of a npm package","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/latest-version"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"latest-version":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["latest","version","npm","package","package.json","current","module"],"dependencies":{"package-json":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"77d6fa6e20551c716f1e543358b93fc9b5c0bfb9","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version","_id":"latest-version@1.0.1","_shasum":"72cfc46e3e8d1be651e1ebb54ea9f6ea96f374bb","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"72cfc46e3e8d1be651e1ebb54ea9f6ea96f374bb","size":1946,"noattachment":false,"key":"/latest-version/-/latest-version-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1434640364483,"_cnpm_publish_time":1434640364483,"_hasShrinkwrap":false},"1.0.0":{"name":"latest-version","version":"1.0.0","description":"Get the latest version of a npm package","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/latest-version"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"latest-version":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["latest","version","npm","package","package.json","current","module"],"dependencies":{"package-json":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"45f050c26630050f73db35967492174c5175a624","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version","_id":"latest-version@1.0.0","_shasum":"84f40e5c90745c7e4f7811624d6152c381d931d9","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"84f40e5c90745c7e4f7811624d6152c381d931d9","size":1243,"noattachment":false,"key":"/latest-version/-/latest-version-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-1.0.0.tgz"},"directories":{},"publish_time":1408009446206,"_cnpm_publish_time":1408009446206,"_hasShrinkwrap":false},"0.2.0":{"name":"latest-version","version":"0.2.0","description":"Get the latest version of a npm package","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/latest-version"},"bin":{"latest-version":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["latest","version","npm","package","package.json","current","module"],"dependencies":{"package-json":"^0.2.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version","_id":"latest-version@0.2.0","_shasum":"adaf898d5f22380d3f9c45386efdff0a1b5b7501","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"adaf898d5f22380d3f9c45386efdff0a1b5b7501","size":1219,"noattachment":false,"key":"/latest-version/-/latest-version-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-0.2.0.tgz"},"directories":{},"publish_time":1402859272193,"_cnpm_publish_time":1402859272193,"_hasShrinkwrap":false},"0.1.2":{"name":"latest-version","version":"0.1.2","description":"Get the latest version of a npm package","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/latest-version"},"bin":{"latest-version":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["latest","version","npm","package","package.json","current","module"],"dependencies":{"got":"^0.3.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version","_id":"latest-version@0.1.2","_shasum":"21d0f957d182a048a367973bb524fe92133964e8","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"21d0f957d182a048a367973bb524fe92133964e8","size":1311,"noattachment":false,"key":"/latest-version/-/latest-version-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-0.1.2.tgz"},"directories":{},"publish_time":1399775240377,"_cnpm_publish_time":1399775240377,"_hasShrinkwrap":false},"0.1.1":{"name":"latest-version","version":"0.1.1","description":"Get the latest version of a npm package","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/latest-version"},"bin":{"latest-version":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["latest","version","npm","package","package.json","current","module"],"dependencies":{"got":"^0.2.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version","_id":"latest-version@0.1.1","dist":{"shasum":"21b3adf9a9434d93932212308a36973c5bcfab6e","size":1306,"noattachment":false,"key":"/latest-version/-/latest-version-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1398038802329,"_cnpm_publish_time":1398038802329,"_hasShrinkwrap":false},"0.1.0":{"name":"latest-version","version":"0.1.0","description":"Get the latest version of a npm package","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/latest-version"},"bin":{"latest-version":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["latest","version","npm","package","package.json","current","module"],"dependencies":{"got":"^0.2.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"homepage":"https://github.com/sindresorhus/latest-version","_id":"latest-version@0.1.0","dist":{"shasum":"086d20089ff1fb8036b9e3e3d72daf92b71932cd","size":1312,"noattachment":false,"key":"/latest-version/-/latest-version-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/latest-version/download/latest-version-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1398007621371,"_cnpm_publish_time":1398007621371,"_hasShrinkwrap":false}},"readme":"# latest-version\n\n> Get the latest version of an npm package\n\nFetches the version directly from the registry instead of depending on the massive [npm](https://github.com/npm/npm/blob/8b5e7b6ae5b4cd2d7d62eaf93b1428638b387072/package.json#L37-L85) module like the [latest](https://github.com/bahamas10/node-latest) module does.\n\n## Install\n\n```sh\nnpm install latest-version\n```\n\n## Usage\n\n```js\nimport latestVersion from 'latest-version';\n\nconsole.log(await latestVersion('ava'));\n//=> '6.1.1'\n\nconsole.log(await latestVersion('@sindresorhus/df'));\n//=> '4.0.0'\n\n// Also works with semver ranges and dist-tags\nconsole.log(await latestVersion('npm', {version: 'latest-5'}));\n//=> '5.10.0'\n```\n\nThis package exposes the [`version`](https://github.com/sindresorhus/package-json#version), [`registryUrl`](https://github.com/sindresorhus/package-json#registryurl), and [`omitDeprecated`](https://github.com/sindresorhus/package-json#omitdeprecated) options from [`package-json`](https://github.com/sindresorhus/package-json#options), as well as the [`PackageNotFoundError`](https://github.com/sindresorhus/package-json#packagenotfounderror) and [`VersionNotFoundError`](https://github.com/sindresorhus/package-json#versionnotfounderror) errors.\n\n## Related\n\n- [latest-version-cli](https://github.com/sindresorhus/latest-version-cli) - CLI for this module\n- [package-json](https://github.com/sindresorhus/package-json) - Get the package.json of a package from the npm registry\n","_attachments":{},"homepage":"https://github.com/sindresorhus/latest-version#readme","bugs":{"url":"https://github.com/sindresorhus/latest-version/issues"},"license":"MIT"}