node-rule34

0.1.1 • Public • Published

node-rule34

An NPM Package designed for grabbing images from Rule34.xxx

Note: This package isn't finished and is a work in progress. I'll update the package as I go.

Installation

$  npm i node-rule34 --save

Methods and Usage

Currently, there is only one method. It returns an Array of however many posts you set the limit to.

posts(params)

params:

  • tags (must be an array containing all of the tags you would like to search for.)
  • limit (however many posts you want to get.)
  • pid (the current page id.)

Examples:

const posts = require('node-rule34').posts;

let ex = posts({ tags: ["tags", "here"], limit: 5, pid: 0 });

console.log(ex); // returns an array of posts based opon what is up here.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i node-rule34

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

2.59 kB

Total Files

5

Last publish

Collaborators

  • bqini