//in cmd prompt: //npm i <package-name> //defining package in code: const package = require("package-name")