0.1.1 • Published 12 months ago
stoobly-node v0.1.1
Stoobly Node.js library
The Stoobly Node library provides convenient access to stoobly-agent API.
Requirements
Node 12 or higher.
Installation
Install the package with:
npm install stoobly --save
Usage
const { default: Stoobly } = require('stoobly');
Or using ES modules:
import Stoobly from 'stoobly';
Configuration
Setting a scenario
const stoobly = new Stoobly();
stoobly.config.scenario.set(<SCENARIO-KEY>)
.then(res => console.log(res.data));
.catch(error => console.error(error));