autorest
Version:
The AutoRest tool generates client libraries for accessing RESTful web services. Input to AutoRest is an OpenAPI spec that describes the REST API.
14 lines (12 loc) • 560 B
JavaScript
const version = process.versions.node.split(`.`);
if (version[0] < 10 || (version[0] == 10 && version[1] < 13)) {
console.error(`\n\n
*******************************************************************************
The version of Node.js ${process.versions.node} is not sufficent.
You need to install Node.js v10.13.0 or greater.
The prefered version is the current LTS (Long Term Support) version.
see: https://nodejs.org/en/download/
*******************************************************************************\n\n\n
`);
process.exit(1);
}