1.0.0 • Published 5 years ago

chordpro-parser v1.0.0

Weekly downloads
3
License
GPL-3.0-or-later
Repository
github
Last release
5 years ago

Chordpro Parser

Chordpro Parser based on the chordsheetjs module (Special thank for martijnversluis )

This parser acts as a helper for the chordsheetjs module, it does not replace it at all and if you need more features than simple Chordpro format parsing, better use the chordsheetjs module.

Installation

const parser = require('chordpro-parser');

Usage

const chordSheet = `
       Am         C/G        F          C
Let it be, let it be, let it be, let it be
C                G              F  C/E Dm C
Whisper words of wisdom, let it be`.substring(1);

const song = parser.parse(chordSheet, "html");