Ultimate Npm Cheatsheet [Live Doc]

Mohammed Ali - Aug 14 - - Dev Community
  • Modern web dev can't exist without package manager.
  • Management of open-source tools, libraries, frameworks is needed for modern web development.
node -v                              // Check node version
npm -v                               // Check npm version
npm init -y                          // Package.json file creation
npm install --save-dev node-sass     // Installs pkg as devDependency
npm uninstall --save-dev node-sass   // Uninstall pkg as devDependency
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .