songbook-chordpro
v0.2.4
Published
Library for parsing chordpro song format
Downloads
236
Readme
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);