scalelite-js
JavaScript wrapper for Scalelite API
Installation
Using npm
npm install scalelite-js
You will also need approriate version of scalelite api. You can find it on my GitHub or DockerHub.
Usage
const Scalelite = ScaleliteApi const scalelite = processenvSCALELITE_URL // should be in form http://example.com/scalelite/api processenvSCALELITE_SECRET // Get all serversscalelite // Add serverscalelite
For more examples refer to test directory.
Run Tests
Clone repo, install all dependencies, and run npm run test
. It will launch mocha.