What is NPM ? How to get started with it


OLD (UTC)

  1. page.date => Sat Apr 02 2022 20:34:05 GMT+0530 (India Standard Time)
  2. dateToISO => 2022-04-02T15:04:05.212
  3. dateToFormat('yyyy-LL-dd') => 2022-04-02

NEW (IST)

  1. page.date => Tue Dec 02 2025 17:50:40 GMT+0000 (Coordinated Universal Time)
  2. dateToISO => 2025-12-02T23:20:40.788
  3. dateToFormat('yyyy-LL-dd') => 2025-12-02

npm is a package manager for Node.js, it comes pre-installed with Node and is used to install and manage third-party modules available at npmjs.com. For example if you want to start a local server, you can install browser-sync by running npm install -g browser-sync then use it's configuration file browser-sync.json and package.json "script" to start the server using command like npm run start.