npm init
npm install --save-dev lite-server
tsc -init
Install it as a Dev Dependency using your favorite package manager.
npm install @faker-js/faker --save-dev
or
yarn add @faker-js/faker --dev
or
pnpm add @faker-js/faker --save-dev
Before we get started, you'll need to install Node and Yarn or npm, and create a directory for your project. Then, install Parcel into your app using Yarn:
yarn add --dev parcel
Or when using npm run:
npm install --save-dev parcel
Parcel has a development server built in, which will automatically rebuild your app as you make changes. To start it, run the parcel CLI pointing to your entry file:
yarn parcel index.html
Or when using npm run:
npx parcel index.html
This package contains type definitions for Google Maps JavaScript API (https://developers.google.com/maps/).
npm install --save @types/google.maps
Normally dependencies in a node project are installed via package.json: https://docs.npmjs.com/files/package.json
You install each dependency with npm install --save my-dependency
and it will be added to the package.json
file. So the next person on the project can install all the dependencies with npm install
command on the same folder of package.json.
npm install