1.5.0 • Published 4 years ago

nodeporn v1.5.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
4 years ago

What is this?

A powerful Node.js lib to interact with the Reddit API

Getting Started

Requirements

  • Node.js >= 8.x

Installation

npm install nodeporn --save

Usage

Get Ass Pictures/Gifs

const nodeporn = require("node-porn");
const client = new nodeporn.Client();

client.nsfw.real
  .ass()
  .then((json) => {
    console.log(json);
    // outputs data with image url, possible source and other stuff
  })
  .catch((error) => {
    console.log(error);
    // outputs error
  });