Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

colon-notation

dynamoyt1.2kISC1.2.1

A powerful tool to convert milliseconds to colon Notation and color Notation to milliseconds

ms, colon-notation, ms to colon, milliseconds, colon to seconds, colon, seconds

readme

What is this?

This is a tool to convert milliseconds into colon notation for example: 10:20 means 10 Minutes and 20 seconds.

How to install it?

Type npm i colon-notation in console to install it.

How to use it?

const { toColonNotation, toMilliseconds } = require('colon-notation');

console.log(toColonNotation(10000)) //00:10

console.log(toMilliseconds('01:20')) //80000

Created by DynamoYT#1000

Join my Discord server