🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

minimum-napi-version

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minimum-napi-version

Detect the minimum Node.js version needed for the N-APIs you use

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

minimum-napi-version

Command line tool to figure out what the minimum version of N-API is needed for your binary

npm install -g minimum-napi-version
cd some-n-api-module
node-gyp rebuild
minimum-napi-version # prints the minimum Node.js version that has the N-API functions you use

If you are providing a prebuild you might want to compile against the minimum Node.js version to cover as many Node.js versions as possible.

Only tested on OSX atm, Linux and Windows support welcome as a PR.

License

MIT

FAQs

Package last updated on 24 Feb 2020

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