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 .