2.0.0 • Published 8 years ago

@chris_mitchell_hbg/duration-parser v2.0.0

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

Build Status

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

2.0.0

8 years ago

1.0.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago