1.1.1 • Published 3 years ago
colon-notaion v1.1.1
#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 colon = require('colon-notation');
let convert_to_color_notation = colon.colonNotation(10000);
console.log(convert_to_color_notation)
//00:10
let colon_to_seconds = colon.Seconds('01:20');
console.log(colon_to_seconds)
//80