sindresorhus/pretty-ms

Using pretty-ms vice-versa?

goloroden opened this issue · 2 comments

Is it possible (i.e., planned?) to support calculating milliseconds the other way round, such as:

'5s' => 5000
'1m 2s' => 62000

Nope, should be a separate module. I haven't needed that, so I haven't made it. Feel free ;)

Haha, okay :-))

I now found parse-duration which does the job.

Anyway, thanks for your fast reply :-))