Skip to content

evalrmrf/node_v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node_v

A CLI tool to check compatibility of your system NodeJS and (or) NPM versions with your project engines

Why?

The behaviour of your project may depend on particular versions of NodeJS and NPM.

Engines field in package.json allows you to define specific versions of NodeJS and NPM which are compatible with your project. The documentation of engines field.

How to check compatibility of user's NodeJS or NPM versions?

One of the receipts is to create .npmrc file and put there engine-strict=true like in the example. This receipt works perfectly for npm i command, but doesn't work with npm ci command.

How to use

npx node_v check

List of available commands

node_v [command]
    
Available Commands:

    check       check both nodejs and npm versions  
    node        check nodejs version  
    npm         check npm version  
    help        display help menu
    version     display node_v version
    system      display OS nodejs and npm versions"

About

The package allows you to check and control node and npm versions in your project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published