Observed since 20 Oct, 20:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Get a board's name and type given its short name (eg. `/b/`).
Get a board's name and type given its short name (eg. /b/).
Enumerated types are now Symbols, so relying on falsy evaluation will no longer work:
const boards = require('4chan-boards')
if (boards.getType('b')) {
console.log('This will not print!')
}
Instead, use the provided enumerated types:
if (boards.getType('b') !== boards.INVALID) {
console.log('This message prints! Yay!')
}
yarn add 4chan-boards
# OR
npm install --save 4chan-boards
const boards = require('4chan-boards')
console.log(boards.getName('wsg')) // Worksafe GIF
console.log(boards.getType('b') === boards.NSFW) // true
Get information (ie name or type) about a board.
Objects mapping short names to full names. boards.all contains the mapping for all the boards, boards.sfw contains mapping for only the SFW boards, etc.
boards.getType(board) will return an enumerated type, which has been implemented as a Symbol
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 20:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:5adc5f2f31b8862100c32846ff71b6805be9e2baa65d543bf4af8c0103c42460