parse-hol
Microsoft .hol parser
Install
$ npm install parse-hol
Usage
var parseHOL = ;var fs = ; var data = fs;var result = ; console;/*{ 'location 1': { 'holiday 1': ['1/24/2016'], 'holiday 2': ['2/06/2017', '2/07/2017'] }, 'location 2': { 'other holiday 1': ['12/16/2015'], 'other holiday 2': ['2/06/2017', '2/07/2017'] }}*/
Development
Command | Action |
---|---|
npm test --expose | Run the unit tests on public and private functions |
npm run cover --expose | Run unit tests and show coverage summary in cli |