Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @justinbeckwith/sloth with all npm packages installed. Try it out:

var sloth = require("@justinbeckwith/sloth")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@justinbeckwith/sloth v5.29.1

sloth is a CLI utility for measuring GitHub response SLOs.


This is a simple utility for tracking SLOs of GitHub repositories.



Make sure you have node.js 8+ installed. Then do this:

$ npm install -g @justinbeckwith/sloth


You need to go create a personal access token in GitHub. Take this token, and save it as an environment variable named SLOTH_GITHUB_TOKEN.

$ sloth

Alternatively, you can just set it every time before running the tool:

$ SLOTH_GITHUB_TOKEN=****** sloth


You can also get output in CSV format! Just pass the --csv flag:

$ sloth --csv

That's it 🎉 Enjoy!


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free