@manueldealba/leolib
v1.0.0
Published
``` npm i leolib ```
Downloads
5
Readme
Installation
npm i leolib
Usage
Add the following env variables
LEO_CODE=
LEO_PASSWORD=
Import
import { Leo } from "leolib";
Create an instance of Leo and log in
const leo = new Leo({
codigo: process.env.LEO_CODE,
password: process.env.LEO_PASSWORD
});
await leo.login();
Then you can use any method of the Leo instance