# @types/node-timecodes

> TypeScript definitions for node-timecodes

Latest version **2.5.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/node-timecodes
pnpm add @types/node-timecodes
yarn add @types/node-timecodes
bun add @types/node-timecodes
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.5.4 |
| Published | 2023-11-07 |
| First published | 2019-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/node-timecodes
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-timecodes
- npm.io page: https://npm.io/package/@types/node-timecodes

## Recent versions

- 2.5.4 (latest) — 2023-11-07
- 2.5.2 (ts4.4) — 2021-12-24
- 2.5.1 (ts3.6) — 2021-07-08
- 2.5.0 (ts2.7) — 2019-06-28
- 2.5.3 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-timecodes/index.d.ts)
````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 .

---
_Source: https://npm.io/package/@types/node-timecodes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
