ytsearch.js

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i ytsearch.js

Weekly Downloads

7

Version

1.1.0

License

MIT

Unpacked Size

7.67 kB

Total Files

6

Last publish

Collaborators

  • rjr-yt