guitarics-verse-parser
Features
- Parse text with chords
Usage
const parser = require('guitarics verse parse');
const text = `
C Dm G7 C
Here goes the best Chords.
`;
parser = new parser.VerseParser(text);
parser.flatten();
console.log(parser.getText());
// B Dbm Gb7 B
// Here goes the best Chords.
Install
npm install --save guitarics-verse-parser
Scripts
-
npm run build :
rm -rf dist && tsc
-
npm run test :
mocha ./dist/test/*.js
Dependencies
Package | Version | Dev |
---|---|---|
@types/chai | ^4.1.3 | |
@types/mocha | ^5.2.0 | |
chai | ^4.1.2 | |
guitarics-chordify | ^0.2.1 | |
mocha | ^5.1.1 |
Contributing
Contributions welcome; Please submit all pull requests against the master branch. If your pull request contains JavaScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!
Author
Wendly Saintil wendlysaintil@gmail.com https://twitter.com/wendlysaintil