Identify whether a youtube video is shorts or not
npm install identify-youtube-shorts
const checkIfYoutubeShorts = require('identify-youtube-shorts');
const videoID = "dQw4w9WgXcQ";
async function example(videoID){
const ifShorts = await checkIfYoutubeShorts(videoID);
console.log(ifShorts); // true or false according to the video
}
example(videoID)