@zkochan/pnpm
Version:
Fast, disk space efficient package manager
108 lines (107 loc) • 3.8 kB
JSON
{
"_args": [
[
{
"raw": "latest-version@^3.0.0",
"scope": null,
"escapedName": "latest-version",
"name": "latest-version",
"rawSpec": "^3.0.0",
"spec": ">=3.0.0 <4.0.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/update-notifier"
]
],
"_from": "latest-version@>=3.0.0 <4.0.0",
"_id": "latest-version@3.1.0",
"_inCache": true,
"_location": "/latest-version",
"_nodeVersion": "4.7.3",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/latest-version-3.1.0.tgz_1490525404742_0.793157483683899"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"raw": "latest-version@^3.0.0",
"scope": null,
"escapedName": "latest-version",
"name": "latest-version",
"rawSpec": "^3.0.0",
"spec": ">=3.0.0 <4.0.0",
"type": "range"
},
"_requiredBy": [
"/update-notifier"
],
"_resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz",
"_shasum": "a205383fea322b33b5ae3b18abee0dc2f356ee15",
"_shrinkwrap": null,
"_spec": "latest-version@^3.0.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/update-notifier",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/latest-version/issues"
},
"dependencies": {
"package-json": "^4.0.0"
},
"description": "Get the latest version of an npm package",
"devDependencies": {
"ava": "*",
"semver-regex": "^1.0.0",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "a205383fea322b33b5ae3b18abee0dc2f356ee15",
"tarball": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "2181e0f3c18d71c43bc6656c9cd09ba9bccd6c68",
"homepage": "https://github.com/sindresorhus/latest-version#readme",
"keywords": [
"latest",
"version",
"npm",
"pkg",
"package",
"package.json",
"current",
"module"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "latest-version",
"optionalDependencies": {},
"readme": "# latest-version [](https://travis-ci.org/sindresorhus/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\n## Install\n\n```\n$ npm install --save latest-version\n```\n\n\n## Usage\n\n```js\nconst latestVersion = require('latest-version');\n\nlatestVersion('ava').then(version => {\n\tconsole.log(version);\n\t//=> '0.18.0'\n});\n\nlatestVersion('@sindresorhus/df').then(version => {\n\tconsole.log(version);\n\t//=> '1.0.1'\n});\n```\n\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\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/latest-version.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "3.1.0"
}