1.0.0 • Published 3 years ago
@viniciusgdr/ava v1.0.0
AVA - Sae Digital
A Plugin for getting automatic responses via Puppeteer
Instalação
Install with npm
npm install @viniciusgdr/Ava
cd my-project
Uso/Exemplos
Importing
import { Ava } from '@viniciusgdr/Ava'
Using Async/await
let res = await new Ava('URL_TRILHAS', 'USER', 'KEY').avaTrilhas()
console.log(res)
or
new Ava('URL_TRILHAS', 'USER', 'KEY').avaTrilhas().then((res) => {
console.log(res)
})
Config
"headless"?: boolean;
"args"?: string[];
"executablePath"?: string;
Example:
let res = await new Ava('URL_TRILHAS', 'USER', 'KEY').avaTrilhas({
headless: true
})
console.log(res)
1.0.0
3 years ago