1.0.0 • Published 2 years ago

@viniciusgdr/ava v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

2 years ago