UNPKG

loader.io.api

Version:

loader.io api wrapper for nodejs. If you interested in this npm package, take a look at the npm package [perst](https://dasred.github.io/perst).

21 lines (18 loc) 610 B
import Applications from './Application/Applications.js'; import Tests from './Tests/Tests.js'; import Servers from './Servers.js'; import Client from './Client.js'; export default class LoaderIO { /** * * @param {string} token * @param {string} server * @param {string} version */ constructor(token, server = 'https://api.loader.io', version = 'v2') { const client = new Client(token, server, version); this.applications = new Applications(client); this.tests = new Tests(client); this.servers = new Servers(client); } }