Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yt-api

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yt-api - npm Package Compare versions

Comparing version 0.0.8 to 0.1.0

2

package.json
{
"name": "yt-api",
"version": "0.0.8",
"version": "0.1.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.js",

import { YouTubeAPI } from "../src";
declare module "yt-api" {
export class VideoAPI extends YouTubeAPI<string>{
export class YouTubeAPI<string> {
public constructor(ytKey: string);
public getVideo(id: string): Promise<VideoInfo>;
public getVideoByID(id: string): Promise<VideoInfo>;
public getVideo(search: string): Promise<SearchedVideoInfo>;

@@ -9,0 +9,0 @@ public getVideos(search: string, maxResults: number): Promise<Array<SearchedVideoInfo>>;

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc