Catalog npm
Back to packageRELEASE DETAILS

0.0.2

npm

2ch-parser

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

Published27 Apr 2017
Direct dependencies9
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 9

Native requirements
9 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
iconv-lite
Environment
{
  "local_name": "iconv-lite",
  "alias": false,
  "peer_metadata": null
}
^0.4.15runtime
jschardet
Environment
{
  "local_name": "jschardet",
  "alias": false,
  "peer_metadata": null
}
^1.4.2runtime
sync-request
Environment
{
  "local_name": "sync-request",
  "alias": false,
  "peer_metadata": null
}
^4.0.1runtime
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
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
{
  "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="
    }
  ]
}

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:128ba8eb46d1c598e016e89eb7f207b0a0c41a0ceb14d2a2fee73c23a67026a7

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 →