UNPKG

sparsejs

Version:

Package that allows you to easily use the sparse api within js.

17 lines (13 loc) 475 B
# Sparse JS Sparse JS, allows you to use the https://sparse.pw/ api, and easily decode the output! # Getting Started ``` js 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) ```