Parser for freds-songbook-2 that returns the given sheet code as an object of the sheet's components.
Reference implementation of the notation format used in freds-songbook-2.
This package makes use of String.prototype.matchAll()
which is available starting with Node 12.0.0. Therefore versions before Node 12 are not supported!
This project comes with a config for VSCode that supports
-
Automated ESLint formatting when file is being saved using Dirk Baeumer's vscode-eslint extension.
-
Automated Mocha test runs when file is being saved and integration of test results into VSCode using Holger Benl's Mocha Test Explorer extension. In order to run this extension, you will also need Holger Benl's Test Explorer UI extension
-
Auto-generated coverage reports using emeraldwalk's Run on Save extension
If you don't want to auto-generate coverage (it might take a while on huge projects), you can run
npm run coverage-lcov
instead to update coverage information. -
Code coverage highlighting within VSCode using
- as the unobstrusive option that also gives a hint why the line was highlighted on mouse hover: Markis Taylor's Code Coverage extension.
- as the striking option that shows coverage percentage in the status bar with the option to toggle highlighting: Brainfit's Code Coverage Highlighter extension.
You can use both extensions together as both have their specific advantages. There's also plenty of other coverage highlighting plugins in the store that consume lcov coverage data that you can choose from.