DEV Community

Mohammed Ali
Mohammed Ali

Posted on • Edited on

Ultimate Npm Cheatsheet [Live Doc]

  • 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

Top comments (0)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay