jsdev.org
Chat | Labs | Containers | Code Examples | Video Courses | SiteMap

Node.js

Node version Management

Absolute path imports for Node.js projects

Jest with absolute path imports for Node.js projects


Global node_modules path

$ npm root -g


Check updates for node packages

$ npm install -g npm-check-updates
$ ncu -u
$ npm install


Possible additional strong config


packages.json

"engines": {
    "node": ">=12.13.1",
    "npm": ">=6.13.4"
  },


.npmrc

engine-strict=true

Tags: setup, node.js

jsdev.org

Opensource project with codes on github.

Telegram group: jsdev_org