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

1.0.2 • Public • Published

Installation

npm install --save @types/lrc-parser

Summary

This package contains type definitions for lrc-parser (https://github.com/dkakashi69/lrc-parser#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lrc-parser.

index.d.ts

interface LrcData {
    [key: string]: string | ScriptItem[] | undefined;
    scripts?: ScriptItem[];
}

interface ScriptItem {
    start: number;
    text: string;
    end: number;
}

declare function lrcParser(data: string): LrcData;

export = lrcParser;

Additional Details

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

Credits

These definitions were written by Alex Kovacs.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/lrc-parser

Weekly Downloads

24

Version

1.0.2

License

MIT

Unpacked Size

3.08 kB

Total Files

5

Last publish

Collaborators

  • types