1.3.2 • Published 3 years ago

subbey v1.3.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

subbey

subbey is an lightweight and asynchronous Reddit API wrapper to retrieve post easily

Usage

CommonJS

const {subbey} = require('subbey');
subbey({sub: 'dank', max: 1, nfsw: false, top: true});

ECMAScript

import {subbey} from 'subbey';
subbey({sub: 'dank', max: 1, nfsw: false, top: true});

Options

/**
     * @description The subreddit you want to recieve posts from
     * @optional
     * @default memes
     * @type {string}
*/
    sub?: string,

/**
     * @description Wether you want to recieve NFSW results
     * @optional
     * @default false
     * @type {boolean}
*/
    nfsw?: boolean;

/**
     * @description The number of results you want to recieve
     * @optional
     * @default 3
     * @type {number}
*/
    max?: number


/**
     * @description Wether you want the top posts or not
     * @optional
     * @default false
     * @type {boolean}
*/
    top?: boolean
1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago