@lolpants/timeparser
v2.0.1
Published
Parse complex length strings to a millisecond value
Downloads
6
Readme
⏰ Timeparser
Parse complex length strings to a millisecond value
💾 Installation
The package is on the NPM registry as @lolpants/timeparser. Simply install it with your NPM client of choice.
🔧 Usage
import { parse } from 'timeparser'
// Parse
const len = parse('1 minute')
// => 60000Check /test/parse.test.ts for examples of parsable strings.
