🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@types/youtube-captions-scraper

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/youtube-captions-scraper

TypeScript definitions for youtube-captions-scraper

1.0.0
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npm
Version published
Weekly downloads
377
-4.8%
Maintainers
0
Weekly downloads
 
Created
Source

Installation

npm install --save @types/youtube-captions-scraper

Summary

This package contains type definitions for youtube-captions-scraper (https://github.com/algolia/youtube-captions-scraper).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/youtube-captions-scraper.

index.d.ts

export interface Subtitle {
    start: number;
    dur: number;
    text: string;
}

export type SubtitleOutput = Subtitle[];

export function getSubtitles({ videoID, lang }: {
    videoID: string;
    lang: string;
}): Promise<SubtitleOutput>;

Additional Details

  • Last updated: Tue, 29 Oct 2024 19:02:25 GMT
  • Dependencies: none

Credits

These definitions were written by oof2win2.

FAQs

Package last updated on 29 Oct 2024

Did you know?

Socket

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