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.
Using npm:
npm i songbook-chordpro
Using yarn:
yarn add songbook-chordpro
To parse the chordpro string to a common format use:
import parseSong from 'songbook-chordpro';
const content = '...chordpro string';
const song = parseSong(content);