UNPKG

npm-cli-version

Version:

Get the currently installed `npm` CLI version

40 lines (39 loc) 722 B
{ "name": "npm-cli-version", "version": "1.0.0", "description": "Get the currently installed `npm` CLI version", "repository": "shinnn/npm-cli-version", "author": "Shinnosuke Watanabe (https://github.com/shinnn)", "scripts": { "pretest": "eslint .", "test": "nyc ava" }, "license": "ISC", "files": [ "index.js" ], "keywords": [ "npm", "cli", "version", "command", "semver", "string", "promise", "async" ], "dependencies": { "npm-cli-dir": "^3.0.0" }, "devDependencies": { "@shinnn/eslint-config-node": "^6.0.0", "ava": "^1.0.0-beta.6", "eslint": "^5.1.0", "nyc": "^12.0.2", "path-key": "^2.0.1", "semver": "^5.5.0" }, "eslintConfig": { "extends": "@shinnn/node" } }