Current collected state Current
Observed since 20 Oct, 19:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
2ch-parser
This module is parser for 2ch which is most famous BBS in Japan.
This module is a parser for 2ch which is most famous BBS in Japan.
This module supports some BBS compatible with 2ch, but doesn't support 5ch.net.
Install with npm.
npm install 2ch-parser
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)
}
})
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
iconv-liteEnvironment{
"local_name": "iconv-lite",
"alias": false,
"peer_metadata": null
} | ^0.4.15 | runtime |
then-requestEnvironment{
"local_name": "then-request",
"alias": false,
"peer_metadata": null
} | ^2.2.0 | runtime |
babel-coreEnvironment{
"local_name": "babel-core",
"alias": false,
"peer_metadata": null
} | ^6.24.0 | development |
babel-loaderEnvironment{
"local_name": "babel-loader",
"alias": false,
"peer_metadata": null
} | ^6.4.1 | development |
babel-preset-es2015Environment{
"local_name": "babel-preset-es2015",
"alias": false,
"peer_metadata": null
} | ^6.24.0 | development |
chaiEnvironment{
"local_name": "chai",
"alias": false,
"peer_metadata": null
} | ^3.5.0 | development |
mochaEnvironment{
"local_name": "mocha",
"alias": false,
"peer_metadata": null
} | ^3.4.1 | development |
resolve-url-loaderEnvironment{
"local_name": "resolve-url-loader",
"alias": false,
"peer_metadata": null
} | ^2.0.2 | development |
webpackEnvironment{
"local_name": "webpack",
"alias": false,
"peer_metadata": null
} | ^2.3.2 | development |
webpack-notifierEnvironment{
"local_name": "webpack-notifier",
"alias": false,
"peer_metadata": null
} | ^1.5.0 | development |
Source distribution
{
"shasum": "47f3e52e3dda90a27fcc6583c995347b140897bc",
"tarball": "https://registry.npmjs.org/2ch-parser/-/2ch-parser-0.0.15.tgz",
"integrity": "sha512-8AEJnJBl9nGM70ArH5YN38mtQv+KA+9xItGt0ISurkV6/nmmQI8WzhN+wMGwJfkWk/G3gFfBYiK7FjY8U4M/Hg==",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQD+zTl6dfpgqvqFgqaOB0l0IBDMX2k+lDumP3odMB94RAIhAMZ6ciQ2pnpT1dd7qBVEx0GZjM5fzbm0MXmNTaIi585r"
}
]
}Observed since 20 Oct, 19:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:ea7493f6c28773e803bd7658bb33f3e8362003abcc45bf9b5ca4879e47bea73f