Node.js Youtube Music API Tutorial to Search Songs on Youtube in Browser Using TypeScript Full Project For Beginners

 

Unofficial YouTube Music API for Node.js

 

 

Get started

npm install node-youtube-music

or

yarn add node-youtube-music

How to use

import ytMusic from 'node-youtube-music';

const musics = await ytMusic.searchMusics('Never gonna give you up');

const suggestions = ytMusic.getSuggestions(musics[0].youtubeId);

 

Leave a Reply