Releases: twlite/youtube-sr
Releases · twlite/youtube-sr
v2.0.2
YouTube-sr v2
- Fixed playlist bug (#3)
- Fixed locale
- Rename
validateURL
tovalidate
with validation types - Other minor changes
NPMJS: https://npmjs.com/package/youtube-sr
GitHub: https://github.com/DevSnowflake/youtube-sr
v1.0.7 | URL Validation
Support for URL Validation
// with valid url
const res = youtube.validateURL(url);
console.log(res); // true
// with invalid url
const res = youtube.validateURL(url);
console.log(res); // false
v1.0.6 | Playlist Support
This version supports playlist parsing
Example:
const playlistURL = "SOME_PLAYLIST";
youtube.getPlaylist(playlistURL)
.then(console.log);