Category: node

How to use nodejs specific version

Many times due to project or required platform requirements we have to use a specific version of nodejs. Here you can find list of node versions https://nodejs.org/en/download/releases So below is an example where you can install and use a specific nodejs version One way is to use NVM, the Node Version Manager. Use the following […]

How to update npm packages to latest version

Here is way to update node/ angular/ react project’s npm packages to latest version automatically using npm command npm-check-updates is a utility that automatically update npm package.json with used package latest version of all dependencies see https://www.npmjs.org/package/npm-check-updates npm install -g npm-check-updatesncu -unpm install A slightly less intrusive (avoids a global install) way of doing this […]