Socket
Socket
Sign inDemoInstall

spyter

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    spyter

Modern audio-focused YouTube crawler for Node.js.


Version published
Weekly downloads
21
increased by950%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

v1.1.0 (August 09, 2023)

CI

Chores

  • [5547b3f] - update changelog [skip ci]
  • [3e13ef8] - update readme [skip ci]
  • [75e2685] - add rules for Makefile
  • [f0a4393] - swap package-lock.json with pnpm-lock.yaml
  • [4c55a67] - switch to swc in build script

Features

Readme

Source

Spyter

npm version npm downloads build coverage

Overview

About

Spyter is a modern, audio-focused YouTube crawler for Node.js. It allows you to easily search YouTube and retrieve information about playlists and videos.

  • Modern and consistent API
  • TypeScript support
  • Performant
  • No dependencies

Installation

⚠️ Node.js v18.0.0 or newer is required.

$ npm install spyter

Quick Start

import spyter from "spyter";

const video = await spyter.getVideo(
    "https://www.youtube.com/watch?v=ryT-ltTDCko"
);

/*
    {
        id: "ryT-ltTDCko",
        url: "https://www.youtube.com/watch?v=ryT-ltTDCko",
        title: "Prince - Purple Rain (Live At Paisley Park, 1999)",
        channelUrl: "https://www.youtube.com/channel/UCk3ZjUeo6rwtXVdvelevVag",
        channelName: "princevevo",
        thumbnails: [ ... ],
        duration: 696,
        isLive: false,
        formats: [ ... ]
    }
*/

Usage with CommonJS

const spyter = require("spyter");

Read more about Spyter's API on the official wiki.

License

license

Keywords

FAQs

Last updated on 09 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc