NPM Command List
npm init: Initialize a new Node.js project. This command is used to create apackage.jsonfile, which contains metadata about the project and its dependencies.npm iornpm install: Install project dependencies. This command needs to be run initially and whenever there are changes to thepackage.jsonfile to ensure that the required packages are installed.npm run format: Format code according to project conventions.npm run format:check: Check code formatting without making changes.npm run spell-check: Check spelling in the project.npm run lint:md: Run markdown linting for the project.nvm use <version>: Switch Node.js version using NVM (Node Version Manager).
Last updated