UNPKG

videomail-client

Version:

A wicked npm package to record videos directly in the browser, wohooo!

17 lines (13 loc) 326 B
import { filesize } from 'filesize' import humanizeDuration from 'humanize-duration' // todo get rid of this class and use those imports directly export default { filesize: function (bytes, round) { return filesize(bytes, { round: round }) }, toTime: function (t) { return humanizeDuration(t) } }