1.1.0 • Published 6 years ago
4chan-promise v1.1.0
4chan-promise
4Chan Javascript Client with Promises.
Usage
const chan = require("4chan-promise");
const paper = chan.getBoard("po");
async function printPages() {
const pages = await biz.threads();
console.log(pages);
}
async function getThread(threadId) {
const thread = await biz.thread(threadId);
}
printPages();
getThread(570368);
Schema
To see how to use this effectively, you need to know what is the structure of the objects returned. Check it out here.