Catalog npm
Back to packageRELEASE DETAILS

0.1.0

npm

2ch-parser

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

Published27 May 2017
Direct dependencies12
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 12

Native requirements
12 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
iconv-lite
Environment
{
  "local_name": "iconv-lite",
  "alias": false,
  "peer_metadata": null
}
^0.4.15runtime
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
then-request
Environment
{
  "local_name": "then-request",
  "alias": false,
  "peer_metadata": null
}
^2.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
{
  "shasum": "a086839109c8cf667f6d1cf60b516855424f0b1c",
  "tarball": "https://registry.npmjs.org/2ch-parser/-/2ch-parser-0.1.0.tgz",
  "integrity": "sha512-f5HTUFEAVDUpWvU59hGTcD3wUYBajF+v44HQ+AydLpPpSnI0WoZQ5QTEgLS2GPOzplNLq1baFldoKJ3KGhQoSg==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQCCsE7goMJmMXc2yb9L6BiZFnklNZlptTkcQdDfZQVh1AIgQtP8e/XDqalu540LD8W5AMtpMC9LEB2TGaMc3l+Fd94="
    }
  ]
}

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:92f756e84f08e96d3dfb36bca0f6f987e28cdfb01fdd9990d9c903288599ca0c

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 →