1.0.3 • Published 2 years ago

subreddit-db v1.0.3

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

Info on this package

This package contains a bunch of random subreddits that can be easily used in your projects.

(If you want the list of subreddits, go here.)

How to install:

npm i subreddit-db

Code examples:

var Subs = require('subreddit-db')

console.log(Subs.NoSlash())

Output: memes (RandomSubReddit)

var Subs = require('subreddit-db')

console.log(Subs.WithSlash())

Output: r/memes (r/RandomSubReddit)

var Subs = require('subreddit-db')

console.log(Subs.Link())

Output: https://www.reddit.com/r/memes (https://www.reddit.com/r/RandomSubReddit)