get-youtube-detail
v1.2.1
Published
A lib for getting youtube title,videoid,channelid,and channel/video description.
Downloads
3,800
Maintainers
Readme
Get Youtube Data
A lib for getting youtube title,videoid,channelid,and channel/video description.
Installation
#Install my-project with npm
npm i get-youtube-detail
#or
#Install my-project with pnpm
pnpm i get-youtube-detail
#or
#Install my-project with yarn
yarn add get-youtube-detail
Usage/Examples
Data is returned on the basic of url and type selected
import {getYoutubeData} from 'get-youtube-detail'
const data = await getYoutubeData({ url: 'your yt url here', checkType:"select type" }
Types are
"videoID" | "channelID" | "description"
Data is returned on the basic of url and type selected