This package is initially dev for the site https://massivemusic.fr/add-tracks/, It's here for sharing & contribute.
const usetube = require('usetube')
await usetube.searchVideo('Lorn')
searchVideo(terms)
searchChannel(terms)
getChannelVideos(channel_id)
getPlaylistVideos(playlist_id)
getChannelDesc(channel_id)
getVideoDesc(video_id)
getVideoDate(video_id)
getVideosFromDesc(video_id)
getVideoSubtitles(video_id)
video {
id
original_title
title
artist
duration
publishedAt
}
channel {
name
channel_id
nb_videos
nb_subscriber
official
channel_avatar_small
channel_avatar_medium
channel_avatar_large
}