New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nmp

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

nmp

Give love to different runtime versions of native modules

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
236
-16.9%
Maintainers
1
Weekly downloads
 
Created
Source

Native Module Path (nmp)

npm version Build Status Dependency Status devDependency Status

Give love to the path of native Node.js modules and support different runtime versions.

API

NMP.join

Acts like path.join but injects a version string of current running v8 engine running to second last position.

var NMP = require("nmp");
var nmp = new NMP();

var dir = nmp.join(__dirname, "bin", "my-native-module-name.node");
console.log(dir)

// --> c:\git\nmp\test\bin\win32-ia32-v8-3.28\my-native-module-name.node

FAQs

Package last updated on 30 Jul 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