2.5.4 • Published 6 months ago

@types/node-timecodes v2.5.4

Weekly downloads
177
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for node-timecodes 2.5
// Project: https://github.com/Synchronized-TV/node-timecodes
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 23 Dec 2021 23:35:12 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.

2.5.4

6 months ago

2.5.3

7 months ago

2.5.2

2 years ago

2.5.1

3 years ago

2.5.0

5 years ago