An open API service indexing awesome lists of open source software.

https://github.com/loadlab/javascript

Javascript Client for LoadLab
https://github.com/loadlab/javascript

http javascript javascript-library load-testing performance performance-testing rest-client sdk-js

Last synced: about 2 months ago
JSON representation

Javascript Client for LoadLab

Awesome Lists containing this project

README

          

# LoadLab JS
Javascript Client for the LoadLab REST API.

[![CircleCI](https://circleci.com/gh/loadlab/javascript.svg?style=svg)](https://circleci.com/gh/loadlab/javascript)

## Setup

$ npm i loadlab

## Usage

```js
const client = new LoadLab('')

// 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
})

```