Catalog npm
Back to packageRELEASE DETAILS

0.2.4

npm

2ch-parser

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

Published17 Nov 2018
Direct dependencies10
Transitive dependenciesNot calculated

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.

Declared dependencies 10

Native requirements
10 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
superagent
Environment
{
  "local_name": "superagent",
  "alias": false,
  "peer_metadata": null
}
^3.5.2runtime
superagent-charset
Environment
{
  "local_name": "superagent-charset",
  "alias": false,
  "peer_metadata": null
}
^1.2.0runtime
babel-core
Environment
{
  "local_name": "babel-core",
  "alias": false,
  "peer_metadata": null
}
^6.24.0development
babel-loader
Environment
{
  "local_name": "babel-loader",
  "alias": false,
  "peer_metadata": null
}
^6.4.1development
babel-preset-es2015
Environment
{
  "local_name": "babel-preset-es2015",
  "alias": false,
  "peer_metadata": null
}
^6.24.0development
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^3.5.0development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^3.4.1development
resolve-url-loader
Environment
{
  "local_name": "resolve-url-loader",
  "alias": false,
  "peer_metadata": null
}
^2.0.2development
webpack
Environment
{
  "local_name": "webpack",
  "alias": false,
  "peer_metadata": null
}
^2.3.2development
webpack-notifier
Environment
{
  "local_name": "webpack-notifier",
  "alias": false,
  "peer_metadata": null
}
^1.5.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-juhSveOEiDKYCunaMm17o3hAJbFTyHWHcxLgI7V09nL9yOZtHDvihizIHP0PZ0xYdgy7n+y+9m/PR4UqxXjuzg==",
  "shasum": "c066fe49b3d1f2d3f5ae0d6b917c424eb0292b73",
  "tarball": "https://registry.npmjs.org/2ch-parser/-/2ch-parser-0.2.4.tgz",
  "fileCount": 18,
  "unpackedSize": 546709,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb72UqCRA9TVsSAnZWagAAOI0QAIcGXAMdn6iUMPdWub5S\natO9x+fW4NhYr8rBadZBJbpB3WFHVkBhL/rotKKvoAHta+waiDbbxjBowus8\nym0UGKYiuovXX0IPONcNcemr5313aJNH9fLFSPyBLP0nYsVAJc3hl3wgawS2\nhpC2ZmcyTR17s416TwbOikCKxp7gqqwRn/4sdpOjyYaGGAKMxHvnGjhPPnOv\nMB7p6HTzWWw3RUX/BPdjD7ACm6QunZFdIeT/iE8w581OclplKCs+tPRKbo4p\nlOpmzsrH4dm7GVd98mmy3AjLNz3vp93EcdefHuUH3RxLOfU0gIBqIOZM+9LP\nWxZRdKjsoy822Us7fIK1gjbEo4WRo5nr4EpLscavkOzviZA5W7/3ykd+P6HN\nK6h6861ww/139H/3Jyp45JLqX4icX/X7c5CHCeajaFMBZ0CXA1hCVXrmgpMd\nOupQ7JUnV+QAgcRVEXjgXrrUOd+UYIH+9SezjyFcQNRhkNG/pdWZXiXQLw5/\nbEH9nSndb/sJX7uPhXp4xhqhuHsMwnPDVolB6s8SS+NvlSQ1yrJD7n4ex1mC\nIhfV3ALZy0jpDg1GLHKTONqqQRfdifeN79N9znTelrKjlO5OmCDR22rphiQy\nj+pPvzOo1h6PspJE0Je+EiEeqV4Juacdam7hmrpcrp8nDIOWA4ET9dp17wo4\nwiRZ\r\n=xudc\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIHB61qjep2Y5IoCTosuf1ND2qQQrCXgEwYK+O63t2KolAiEAi25D7Pft5D1ZaKhrN7BxQgDkKLtpbfOKGhBAi/CS6n4="
    }
  ]
}

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_version:bee3bc31115fbe39db474e860e359c3107480ee06e44db368be1f97d776702ff

Other collected versions

0.7.01 Jan0.6.013 Jun0.5.010 Jun0.4.010 Jun0.3.010 Jun0.2.810 JunView all collected versions →