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.2.2 to 0.2.3

2

package.json
{
"name": "yt-api",
"version": "0.2.2",
"version": "0.2.3",
"description": "A light weight, easy, and super fast way of interacting with the YouTube Data API v3.",

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

@@ -19,3 +19,3 @@ const snekfetch = require("snekfetch");

if(data.snippet.liveBroadcastContent === "upcoming") livestream = "Upcoming live stream!";
return res(JSON.stringify({
return res({
videoID: data.id,

@@ -47,3 +47,3 @@ url: `https://www.youtube.com/watch?v=${data.id}`,

}
}));
});
});

@@ -50,0 +50,0 @@ }

@@ -27,6 +27,6 @@ import { Client } from "../src";

duration: {
days: number;
hours: number;
minutes: number;
seconds: number;
days: string;
hours: string;
minutes: string;
seconds: string;
};

@@ -33,0 +33,0 @@ statistics: {

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