Skip to content

kirkstrobeck/strict-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strict version

Strictly enforce node version

Circle CI

Usage

npm install strict-version

Add require('strict-version'); to the start of your project.

Make sure you add the node version to your package.json

{
  "engine-strict": true,
  "engines": {
    "node": "v4.1.1"
  }
}

Note: Not compatible with semvar, currently just uses string comparison.