Using Lancero with Node.js
When interacting with Lancero in Node.js there are two options.
- The Official Node.js library
- Manual calls to our API
You can install the library using your favourite package manager.
npm i @lancero/nodeyarn add @lancero/node
Any action you wish to perform needs to happen through a Lancero client.
You will need your API key for this, find it in the project settings
import Lancero from '@lancero/node'const lancero = new Lancero("API key");
The Node.js library is written in TypeScript and thus has built-in, complete support for TypeScript.