Node 16+ is required.
Run all commands from project root.
npm install
Project token and api url is passed by ENV variables. Create .env
file from example and update your project token.
cp .env.example .env
To obtain project token create new Localazy project and go to Project settings > Developer Console > Access Tokens.
node examples/import-json.mjs
node examples/create-screenshot.mjs