ytsearch.js
Getting Started

Installation

Install ytsearch.js from npm and use it with modern ES modules, CommonJS or TypeScript.

Terminal
npm install ytsearch.js

Requirements

The published package declares Node.js >=14.0.0. The package exports both a CommonJS entry and an ES module entry and includes TypeScript declarations.

Choose your module system

ES modules

Use named imports with import syntax in modern Node.js applications.

CommonJS

Use require() when your application uses the CommonJS module system.