sparsejs
v1.0.2-3
Published
Package that allows you to easily use the sparse api within js.
Downloads
2
Maintainers
Readme
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)
```