README
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
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
<script type="module">
import nodeversioncheck from 'https://cdn.skypack.dev/nodeversioncheck';
</script>
npm install nodeversioncheck
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