0.0.5 • Published 6 years ago

dvach.js v0.0.5

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

Build Status Coverage Status GitHub issues GitHub stars

dvach.js

Node.JS 2ch.hk API Wrapper

Installation

To install you simply need execute:

$ npm install dvach.js

Or this command, if you prefer Yarn

$ yarn add dvach.js

Example usage

const DvachApi = require("dvach.js");

DvachApi.getBoard("b")
  .then((threads) => {
    console.log(threads);
  })
  .catch((err) => {
    // error processing
  });

Available methods

  • getBoard(board)

  • getThread(board, threadNum)

  • getPage(board, pageNumber)

  • getTop(board, sortMethod, numOfThreads)

Running the tests

To run the test suites, type in your terminal

$ npm run test

Contributing

Open for pull requests!

Authors

0.0.5

6 years ago

0.0.1

6 years ago