🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

getversion

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getversion

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

0.1.1
latest
npm
Version published
Weekly downloads
7
-30%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

cli

FAQs

Package last updated on 22 Nov 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts