Skip to content
/ ttms Public

Small (<1kb) library to transform written time to milliseconds

License

Notifications You must be signed in to change notification settings

kysley/ttms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text to ms

ttms is a small library used to convert simple text-based time into its millisecond representation.

Example

import {t} from 'ttms'

const delay = t('1 week 2 hours and 45 minutes') // => 614700000

more readme coming soon

About

Small (<1kb) library to transform written time to milliseconds

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published