Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bin-version

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bin-version

Get the version of a binary in semver format

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
398K
decreased by-80.19%
Maintainers
1
Weekly downloads
 
Created

What is bin-version?

The bin-version npm package is designed to retrieve the version of a binary executable in your system. It is useful for developers who need to programmatically check and manage the versions of dependencies and tools that their applications interact with.

What are bin-version's main functionalities?

Get binary version

This feature allows you to fetch the version of a specified binary executable. The code sample demonstrates how to retrieve the version of 'curl' using the bin-version package.

const binVersion = require('bin-version');

(async () => {
  try {
    const version = await binVersion('curl');
    console.log(version);
  } catch (error) {
    console.error('Error:', error);
  }
})();

Other packages similar to bin-version

Keywords

FAQs

Package last updated on 20 Aug 2015

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc