The Stoobly Node library provides convenient access to stoobly-agent API.
Node 14 or higher.
Install the package with:
npm install stoobly-node --save
const { default: Stoobly } = require('stoobly-node');
Or using ES modules:
import Stoobly from 'stoobly-node';
const stoobly = new Stoobly();
stoobly.config.scenario.set(<SCENARIO-KEY>)
.then(res => console.log(res.data))
.catch(error => console.error(error));