RedMetrics2.js Development Install dependencies with npm install. Tests Copy template.env to tests/.env and fill in the environmental variables such as API_KEY. Run tests with npm run test. Building Build for multiple formats with npm run bundle or npm run watch.