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.7.0Registry latest1 Jan 202012
0.6.013 Jun 201911
0.5.010 Jun 201911
0.4.010 Jun 201911
0.3.010 Jun 201911
0.2.810 Jun 201911
0.2.710 Jun 201911
0.2.54 Apr 201910
0.2.417 Nov 201810
0.2.34 Jun 201710
0.2.21 Jun 201710
0.2.129 May 201710
0.2.027 May 201710
0.1.427 May 201712
0.1.327 May 201712
0.1.227 May 201712
0.1.127 May 201712
0.1.027 May 201712
0.0.1525 May 201710
0.0.1425 May 201710

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