installed-version
v1.1.1
Published
Get version of your app
Downloads
13
Readme
installed-version
Get version of your app
Install
npm i --save installed-version
How it works?
- goes to your application root
- fetches
package.json
- extracts version and returns it
Note: :warning: You can't use this package for cli applications.
Usage
const version = require('installed-version');
let v = version();
console.log(v) // '1.0.0'
Change log
- 1.0.0
- initial stable release
Licence
MIT © Vajahath Ahmed