Catalog npm
PACKAGE EXPLORERView in registry

2ch-parser

npm

This module is a parser for 2ch, the most famous BBS in Japan.

Versions collected32
Direct dependencies12From release 0.7.0
Last observed20 Oct, 19:09 UTC

README

Current package documentation

2ch-parser

Build Status npm version

This module is a parser for 2ch which is most famous BBS in Japan.

Support

This module supports some BBS compatible with 2ch, but doesn't support 5ch.net.

Installation

Install with npm.

npm install 2ch-parser

Documentation

Usage

The codes below try to fetch a list of threads and posts.

import { Board } from '2ch-parser'

var board = new Board("http://toro.2ch.sc/tech/")

board.fetchThreads((res) => {
  if (res.statusCode == 200) {
    console.log(board.threads)
  }
})
import { Thread } from '2ch-parser'

var thread = new Thread("http://toro.2ch.sc/test/read.cgi/tech/123456789/")

thread.fetchAllPosts((res)=>{
  if (res.statusCode == 200) {
    console.log(thread.posts)
  }
})

License

GPL-2.0

Author

mrhorin

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 32

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.1325 May 201710
0.0.1225 May 201711
0.0.1115 May 201711
0.0.1011 May 20179
0.0.911 May 20179
0.0.811 May 20179
0.0.72 May 20179
0.0.62 May 20179
0.0.51 May 20179
0.0.41 May 20179
0.0.227 Apr 20179
0.0.127 Apr 20179

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
mrhorin/2ch-parser

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:09 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:0592db7fb688afa010fa1fc1e476ded5b63f5ab6843d28c7b3bdc75738f088b2