1.1.9 • Published 3 years ago

@joshyzou/getyoutubelinks v1.1.9

Weekly downloads
17
License
MIT
Repository
github
Last release
3 years ago

Youtube Searcher

You can use this to get Youtube Links and Youtube Video Titles.

Usage

var getyoutubelinks = require("@joshyzou/getyoutubelinks");
test();
async function test(){
  let video = await getyoutubelinks("what is npm");
  console.log(video.title);
  console.log(video.link);
}


//returns "What is npm? In 2 minutes - npm tutorial for beginners"
//returns "https://youtube.com/watch?v=ZNbFagCBlwo"
//at least at the time of writing