1.1.0 • Published 6 years ago

4chan-promise v1.1.0

Weekly downloads
32
License
MIT
Repository
github
Last release
6 years ago

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.

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago