getversion

Simple CLI for obtaining the current version on your package.json file

npm install getversion
6 downloads in the last week
14 downloads in the last month

getversion

Simple CLI for obtaining the current version on your package.json file.

Installation

Install it globally if you want to have it in your path:

$ npm install -g getversion

Usage

Inside a Node.js package:

$ getversion
# will print 0.0.1

Get the version of a package in another directory:

$ getversion node_modules/request
npm loves you