Socket
Book a DemoInstallSign in
Socket

duration-time-format

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duration-time-format

Duration Time Format/Parse

Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Duration Time

const DurationTime = require('duration-time')

DurationTime.format(11111) === '03:05:11'
DurationTime.format(11111, 2) === '185:11'

DurationTime.parse('03:05:11') === 11111
DurationTime.parse('185:11') === 11111

Keywords

duration

FAQs

Package last updated on 01 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts