subreddit-db
v1.0.3
Published
A database with around 2000 popular subreddits. Easy to use
Downloads
9
Maintainers
Readme
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)