@chris_mitchell_hbg/duration-parser
v2.0.0
Published
Methods for working with HBG duration objects.
Downloads
6
Readme
HBG Duration Parser
Methods for converting to and from strings and HBG duration objects.
Installation
npm install @chris_mitchell_hbg/duration-parser
Usage
var durationParser = require('@chris_mitchell_hbg/duration-parser');
var duration = durationParser.durationToDisplayString({hours: 3, minutes: 10}) // '3h:10m'
Tests
npm test
or npm run test:watch