2.5.4 • Published 6 months ago
@types/node-timecodes v2.5.4
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.