node package manager

nodeversioncheck

Node version check

Installation

npm install nodeversioncheck

Usage

require("nodeversioncheck");

Will exit the process with code 1 if the node version running is not compatible with the one specified in package.json of working directory