1.1.1 • Published 7 years ago

installed-version v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

installed-version

Get version of your app

npm Travis styled with prettier npm Built with generator-ts-np

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

used version of ts-np generator

Licence

MIT © Vajahath Ahmed