1.0.2-3 • Published 4 years ago
sparsejs v1.0.2-3
Sparse JS
Sparse JS, allows you to use the https://sparse.pw/ api, and easily decode the output!
Getting Started
const sparse = require('sparsejs')
// Join our discord to request a key! (https://sparse.pw/discord)
sparse.auth({key:"yourkeyhere"})
// Calling an API
sparse.cat().then(console.log)
// All API's will return a promise, so you will need to resolve it.
// Calling an API that requires input
sparse.password(32).then(console.log)
```