Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 644 Bytes

readme.md

File metadata and controls

37 lines (22 loc) · 644 Bytes

Songbook Chordpro

Simple typescript library for parsing songs in chordpro format.
You can view the package on npm.

For a react component that uses the library see: songbook-chordpro-view.

Installation

Using npm:

npm i songbook-chordpro

Using yarn:

yarn add songbook-chordpro

Usage

To parse the chordpro string to a common format use:

import parseSong from 'songbook-chordpro';

const content = '...chordpro string';

const song = parseSong(content);

License

MIT