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
- Host: GitHub
- URL: https://github.com/loadlab/javascript
- Owner: loadlab
- License: mit
- Created: 2018-09-06T00:52:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-16T04:13:10.000Z (over 7 years ago)
- Last Synced: 2025-08-20T09:34:30.959Z (8 months ago)
- Topics: http, javascript, javascript-library, load-testing, performance, performance-testing, rest-client, sdk-js
- Language: JavaScript
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LoadLab JS
Javascript Client for the LoadLab REST API.
[](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
})
```