@types/node-timecodes
TypeScript icon, indicating that this package has built-in type declarations

2.5.4 • Public • Published

Installation

npm install --save @types/node-timecodes

Summary

This package contains type definitions for node-timecodes (https://github.com/Synchronized-TV/node-timecodes).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-timecodes.

index.d.ts

export interface TimecodeOptions {
    frameRate?: number | undefined;
    ms?: boolean | undefined;
}

export function toSeconds(timecode: string, frameRate?: number): number;
export function fromSeconds(seconds: number, option?: TimecodeOptions): string;
export const constants: { framerate: number };

declare const _: {
    toSeconds: typeof toSeconds;
    fromSeconds: typeof fromSeconds;
    constants: typeof constants;
};

export default _;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by .

Readme

Keywords

none

Package Sidebar

Install

npm i @types/node-timecodes

Weekly Downloads

21

Version

2.5.4

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • types