1.0.0 • Published 2 years ago
cathub-api v1.0.0
cathub-api
WIP: This isn't published yet
A wrapper for Cathub’s API
// ============= index.js
const cathub = require(`cathub-api`)
cathub.random(2).then(console.log)
// ============= console.log
[
{
"id":"ycg2x0qa",
"author":"CharlieCat",
"imageURL":"https://cdn.cathub.space/cyp/IMG_5258.webp",
"type":"img",
"ghost":false
},{
"id":"llelm4c7rm",
"imageURL":"https://cdn.cathub.space/117620014_306007537513180_3043951134926672532_n.webp",
"author":"CharlieCat",
"catName":"Not known",
"description":"I woud like to eat your nuggets",
"type":"img",
"ghost":false
}
]
/**
* @usses JSDoc, WOWO POOOOOOOG mEOWEOMWONwbjfekndvbjfksdncbdkf
*/
1.0.0
2 years ago