This repository has been archived by the owner on May 2, 2022. It is now read-only.
Releases: martijnversluis/ChordJS
Releases · martijnversluis/ChordJS
Deprecation - ChordJS has been merged into ChordSheetJS
⚠️ ChordJS has been merged into ChordSheetJS
ChordJS will not receive any more updates, although it will remain on NPM. To benefit from new features, please use ChordSheetJS instead.
npm install chordjs
or:
yarn add chordjs
import Chord from 'chordsheetjs';
const chord = Chord.parse('Em');
v2.0.1
v2.0.0
Add support for numeric chords (Nashville system)
Eg:
const numericChord = parse('2/4');
const chordSymbol = toChordSymbol(numericChord, 'E');
chordSymbol.toString(); // -> "F#m/A"