Catalog npm
PACKAGE EXPLORERView in registry

4ch

npm

Limited 4chan API and CLI

Versions collected2
Direct dependencies3From release 0.0.2
Last observed20 Oct, 20:06 UTC

README

Current package documentation

4ch

js-standard-style

Minimal Node.js API and CLI for getting what you want out of 4chan.

Installation

yarn global add 4ch

Or if you prefer npm

npm install -g 4ch

Commands (CLI)

4ch [ls|dl|cat] [options]

DESCRIPTION
  ls -- List all active threads of a given board.
    options: [board]
    example: 4ch list g
  dl -- Download all image/gif/web files of a given thread in a board. Images are downloaded to the `process.cwd()/4ch-out/` folder.
    options: [board, thread]
    example: 4ch dl g 123456789
  cat -- Print all posts of a given thread in a board.
    options: [board, thread]
    example: 4ch cat g 123456789

Usage (API)

const {
  downloadThreadImages,
  getBoardCatalog,
  getThread } = require('4ch')

const threads = await getBoardCatalog('g')
const posts = await getThread('g', '123456789')
const images = await downloadThreadImages('g', '123456789')

Contact

@aowlsprit

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 2

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.2Registry latest12 Jan 20193
0.0.110 Jan 20193

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
aowlsprit/4ch

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:4c08039fa5f000de4fc45bf21b068a3f36db3adc233ca0463146920b9bf06cf6