4chan-promise
Javascript 4chan API client with support for async await and promises.
Last updated 7 months ago by gamaranto .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install 4chan-promise 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.1.0                                ...           latest (7 months ago)

4 Versions

  • 1.1.0                                ...           7 months ago
  • 1.0.2                                ...           7 months ago
  • 1.0.1                                ...           7 months ago
  • 1.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 0
Last Month 9
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |