Socket
Socket
Sign inDemoInstall

bin-version

Package Overview
Dependencies
54
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bin-version

Get the version of a binary in semver format


Version published
Maintainers
1
Install size
650 kB
Created

Readme

Source

bin-version Build Status

Get the version of a binary in semver format

Install

$ npm install --save bin-version

Usage

$ curl --version
curl 7.30.0 (x86_64-apple-darwin13.0)
var binVersion = require('bin-version');

binVersion('curl', function (err, version) {
	console.log(version);
	//=> 7.30.0
});

CLI

See the find-versions CLI.

License

MIT © Sindre Sorhus

Keywords

FAQs

Last updated on 20 Aug 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc