{ "name": "latest-version", "version": "1.0.1", "description": "Get the latest version of a 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" }, "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": "*" }, "readme": "# latest-version [![Build Status](https://travis-ci.org/sindresorhus/latest-version.svg?branch=master)](https://travis-ci.org/sindresorhus/latest-version)\n\n> Get the latest version of a 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\n## Install\n\n```sh\n$ npm install --save latest-version\n```\n\n\n## Usage\n\n```js\nvar latestVersion = require('latest-version');\n\nlatestVersion('pageres', function (err, version) {\n\tconsole.log(version);\n\t//=> 0.2.3\n});\n```\n\n\n## CLI\n\n```sh\n$ npm install --global latest-version\n```\n\n```sh\n$ latest-version --help\n\n Usage\n latest-version \n\n Example\n latest-version pageres\n 0.4.1ersion pageres\n 0.2.3\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "readmeFilename": "readme.md", "bugs": { "url": "https://github.com/sindresorhus/latest-version/issues" }, "homepage": "https://github.com/sindresorhus/latest-version#readme", "_id": "latest-version@1.0.1", "_shasum": "72cfc46e3e8d1be651e1ebb54ea9f6ea96f374bb", "_resolved": "https://registry.npmjs.org/latest-version/-/latest-version-1.0.1.tgz", "_from": "latest-version@>=1.0.0 <2.0.0" }