Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPD

Convert time formats to milliseconds (Extended version)

Examples

import parser from "extended-parse-duration";

parser("30s"); // 30000
parser("45 seconds"); // 45000
parser("00:25"); // 25000
parser(55); // 55000

Supports

  • Time with colon notation (dd:hh:mm:ss, hh:mm:ss, mm:ss, m:ss)
  • ms format.
  • Human readable format.

License

MIT

About

Convert extended time formats to milliseconds.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages