New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sealsystems/determine-executable-version

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sealsystems/determine-executable-version

[![CircleCI](https://circleci.com/gh/sealsystems/node-determine-executable-version.svg?style=svg)](https://circleci.com/gh/sealsystems/node-determine-executable-version)

  • 1.3.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

@sealsystems/determine-executable-version

CircleCI

Calls an executable and returns the version information it writes to stdout.

Installation

$ npm install seal-determine-executable-version

Usage

const determineExecutableVersion = require('seal-determine-executable-version');
const options = {
  exeFile: '/bin/bash',
  maxBytes: 128,
  exeArguments: ['--version']
  };

const versionString = await determineExecutableVersion(options);


Parameters:

  • exeFile The full path to the executable file whose version shall be determined. Required option.
  • maxBytes The maximum number of bytes to return from the output; output which is longer is truncated. Default: 128
  • exeArguments The argument list to call the executable file with. Default: ['--version']

FAQs

Package last updated on 17 Jan 2021

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