{"repo":"typicode/please-upgrade-node","free":true,"listed":false,"github":"https://github.com/typicode/please-upgrade-node","clone":"git clone https://github.com/typicode/please-upgrade-node.git","description":":information_desk_person: Show a message to your users to upgrade Node instead of a stacktrace","language":"JavaScript","stars":241,"topics":["node","version","engines","upgrade","package","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"Please upgrade Node :information desk person: show a message to your users to upgrade Node instead of a stacktrace It's common for new Node users to miss or not understand engines warning when installing a CLI. This package displays a beginner-friendly message if their Node version is below the one expected. Status This project is considered feature complete and stable . Only maintenance updates will be published. That said since the goal of the project is to check previous versions of Node, code is unlikely to be modified as it needs to work on very old versions. Usage Add please-upgrade-node at the top of your CLI Set in your package.json the required Node version Important : = is the only operator supported by please-upgrade-node (e.g. =6 , =6.0 , =6.0.0 ). Options You can set custom exitCode and message function if needed Important : to keep message function compatible with older versions of Node, avoid using ES6 features like = or string interpolation. See also xv - ✅ Simple test runner husky - 🐕 Git hooks made easy","default_branch":null,"files":null,"tree":[],"storefront":"/r/typicode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/typicode/please-upgrade-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}