is-youtube-channel
Simple check to see if a given string is a youtube channel
Example
var isChannel = // channel ids // aliases // usernames // /c/ urls
API
isChannel(name : String,
function(err : Error | null, isValid : bool, url : String))
- name: youtube username, channel id, or alias
- err: error objects if a request error occurs
- isValid:
true
if channel is a valid channel,false
otherwise - url: url that was found to work for the given channel name