Duration Format

  1. npm install moment-duration-format

This is a plugin that will allow comprehensive formatting of Moment Durations.

For example,

  1. moment.duration(123, "minutes").format("h:mm");
  2. // "2:03"

The repository is located at github.com/jsmreese/moment-duration-format.