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

1.0.1 • Public • Published

@xiaohuohumax/lrc-parser

LRC歌词文件解析器

Install

npm i @xiaohuohumax/lrc-parser

Use

import lrcSource from './***.lrc?raw';
import { LrcParser, Lrc } from '@xiaohuohumax/lrc-parser';

const lrcParser = new LrcParser();
const lrc: Lrc = lrcParser.parser(lrcSource);

console.log(JSON.stringify(lrc, undefined, 2));

example

example-node

Readme

Keywords

Package Sidebar

Install

npm i @xiaohuohumax/lrc-parser

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

23.3 kB

Total Files

7

Last publish

Collaborators

  • xiaohuohumax