Package Exports
- postinstall-node-version-check
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postinstall-node-version-check) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
postinstall-node-version-check
Logs a message on postinstall if the Node.js version being used is not supported.
Usage
The installation instructions mention npm, but you can use other package managers.
- Install the package:
$ npm install postinstall-node-version-check
- Add it to your postinstall script:
{ //... "scripts": { //... "postinstall": "postinstall-node-version-check" } }
Output
The following message will be logged on postinstall on unsupported Node.js version vX.Y.Z:
(node:<LINE_NUMEBR>) NodeDeprecationWarning: The Node.js version vX.Y.Z is no longer supported.