المعرفة:: JavaScript الحالة::مؤرشفة المراجع:: The Complete JavaScript Course 2022 From Zero to Expert


https://docs.npmjs.com/

  • npm init: initializing a new project. (-y can be used to use default values directly and then edit package.json manually)
  • npm install package: install a package. Or npm i package. A version can be specified using @x.y.z after package name.
  • npm install: install all packages from package.json. Or npm i
  • npm install package --save-dev or npm install package -D: install a package as development dependency.
  • npm run X: run a defined command in npm scripts section of package.json.