2.0.1 • Published 4 years ago

@lolpants/timeparser v2.0.1

Weekly downloads
9
License
ISC
Repository
github
Last release
4 years ago

⏰ Timeparser

Node.js CI NPM version NPM downloads Dependencies

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')
// => 60000

Check /test/parse.test.ts for examples of parsable strings.

2.0.1

4 years ago

2.0.0

4 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago