@nicolawealth/humanize_time
v0.0.3
Published
  which returns a readable string for the specified number of milliseconds:
- Less than 1 second -> output: less than a second
- Between 1 second and 1 minute -> output: x second(s)
- Between 1 minute and 1 hour -> output: x minute(s)
- More than 1 hour -> output: x hour(s) y minute(s)
Testing
Tests can be found in humanize_time.test.ts located in humanize_time/src and should be run with sinon, mocha and nyc.
