Javascript Client for the LoadLab REST API.
$ npm i loadlab
const client = new LoadLab('<LOADLAB_API_TOKEN>')
// Get jobs
client.jobs.get().then(response => {
// do stuff with the response here
})
// Get plans
client.plans.get().then(response => {
// do stuff with the response here
})
// Get sites
client.sites.get().then(response => {
// do stuff with the response here
})