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 |
jschardetEnvironment{
"local_name": "jschardet",
"alias": false,
"peer_metadata": null
} | ^1.4.2 | runtime |
sync-requestEnvironment{
"local_name": "sync-request",
"alias": false,
"peer_metadata": null
} | ^4.0.1 | 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 |
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": "f5f5fda5a66be48f18bce4e0637019b8eb0e4930",
"tarball": "https://registry.npmjs.org/2ch-parser/-/2ch-parser-0.0.2.tgz",
"integrity": "sha512-mP1hpTsA3mDKnkmkDbeTzyP38kE6SAUjQ7TD17aGX3YUSMTYn+kO5/uQnG/BUWW5lXCb39bioPZOwfK1pNabmg==",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIBftXrjPfk0mwgF1RluQs3DsY609oshVxC0PnXhpKp8dAiEAylz1z7pSzn+PIhpQHEuTZtx6GexguopLXC8OmJvSeKc="
}
]
}Observed since 20 Oct, 19:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:128ba8eb46d1c598e016e89eb7f207b0a0c41a0ceb14d2a2fee73c23a67026a7