npm-v

1.0.0 • Public • Published

npm-v

Get installed npm version

travis

Yup it only does that 🎉

Install

npm install --save npm-v

Usage

import npmVersion from 'npm-v'
 
console.log(npmVersion)
// {
//   version: "3.10.8",
//   major: 3,
//   minor: 10,
//   patch: 8
// }

License

MIT © Nicolas Gryman

Readme

Keywords

Package Sidebar

Install

npm i npm-v

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ngryman