Skip to content

🚡 a small npm module to tell you if a subreddit exists

License

Notifications You must be signed in to change notification settings

z11h/is-subreddit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-subreddit

🚡 a small npm module that tell you if a subreddit exists

getting started

$ npm install --save is-subreddit

usage

import doesSubredditExist from 'is-subreddit'

doesSubredditExist('xboxone');
//=> true

doesSubredditExist('ThisIsDefNotASubreddit');
//=> false

api

doesSubredditExist()

Type: <Function>

Returns a boolean (true if the subreddit exists, false if not).

About

🚡 a small npm module to tell you if a subreddit exists

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published