colon-notation

1.2.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    387
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.1
    387
  • 1.2.0
    0
  • 1.1.1
    0

Package Sidebar

Install

npm i colon-notation

Weekly Downloads

336

Version

1.2.1

License

ISC

Unpacked Size

2.1 kB

Total Files

3

Last publish

Collaborators

  • dynamoyt