Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 769 Bytes

README.md

File metadata and controls

44 lines (26 loc) · 769 Bytes

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

Authors