0.0.1 • Published 6 years ago

guitarics-verse-parser v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

guitarics-verse-parser

npm license github-issues

nodei.co

travis-status stars forks

forks

npm.io npm.io

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

PackageVersionDev
@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

License