import parse = require('parse-duration'); parse('1y'); parse('1hr 20mins'); parse('running length: 1hour:20mins');