add npm to project code example
Example 1: install an npm package
npm install package-name
To save as a dependency:
npm install package-name --save
Example 2: build and serve project build node js npm
# in terminal cd to project root dir
# to build project:
npm run build
# to serve/host project locally:
serve -s ./build