This is the API wrapper for Piped in Node.js (Typescript).
Docs
npm i piped-api
import { PipedAPI } from "piped-api"; const api = new PipedAPI("https://ytapi.dc09.ru"); let trending = await api.trending("US"); console.log(trending[0].title);