guitarics-verse-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

guitarics-verse-parser

npm license github-issues

nodei.co

travis-status stars forks

forks

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

License

/guitarics-verse-parser/

    Package Sidebar

    Install

    npm i guitarics-verse-parser

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    13.9 kB

    Total Files

    22

    Last publish

    Collaborators

    • wendly