Skip to content

A module to assert the current node version against the one in the .npmrc or package.json file

Notifications You must be signed in to change notification settings

marcbachmann/assert-node-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assert-node-version

A module to assert the current node version against the one in the package.json or .nvmrc file.

API

// directory can be a directory which is used to lookup the node version
// `process.cwd()` is used as default directory
// The method throws an error if the version isn't satisfied
require('assert-node-version')([directory])

About

A module to assert the current node version against the one in the .npmrc or package.json file

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •