Skip to content

RJRYT/ytsearch.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytsearch.js

NPM Version NPM Install Size NPM Downloads

Youtube content search warpper for nodejs

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

If this is a brand new project, make sure to create a package.json first with the npm init command.

Installation is done using the npm install command:

npm install ytsearch.js

Usage

const ytsearch = require('ytsearch.js');

const results = await ytsearch("Black Panther");
for(i=0;i<6;i++) console.log(results[i].title, results[i].shortViewCount)

//Output

Marvel Studios Black Panther - Official Trailer 50.5M

Wakanda Battle - Im Not Dead Scene - Black Panther Returns - Black Panther (2018) Movie Clip 19.9M

Hiding in the Shadows | The Real Black Panther | National Geographic Wild UK 4.2M

Meet The K2 Black Panther  One Of The World’s Best Tanks (Not Made In the USA) 13K

(Black Panther) Best Action Hollywood Blockbuster Movie in Hindi Full Action HD 633.7K

Black Panther - Car Chase Scene -  Movie clip Epic  4k UHD 428.8K

About

Youtube content search warpper for nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published