Socket
Book a DemoInstallSign in
Socket

n-semver

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n-semver

semver for n

0.1.5
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

n-semver - semver for n

in node:

require('n-semver')('<range>',fn)
function fn(err, data) {console.log(data.versions, data.maxSatisfying)}

in the shell:

  Usage:

      n-semver <version-range> [args ...]
      n-semver-version <version-range>
      n-semver-npm <version-range>

  Example: execute foo.js with the node-version which max-satisfies '~0.8'

      n-semver ~0.8 foo.js -p 3000

  Example: print max-satisfying installed node-version for '~0.8'

      n-semver-version ~0.8

  Example: execute matching npm with the node-version which max-satisfies '~0.8'

      n-semver-npm ~0.8 install a-module-with-node-plugin

note: there is a fork of n which supports node@<0.8.6 (i.e. no official precompiled tarballs).

FAQs

Package last updated on 25 Sep 2013

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.