1.0.6 • Published 3 years ago

mstotime.js v1.0.6

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 years ago

Installation

Node.js 12.0.0 or newer is required.
npm install mstotime.js

Example usage

const msToTime = require("mstotime.js")

var time = msToTime.seconds(10000 , false); 
// hours | minutes | seconds // true : float & false : integer

console.log(time);

output : 10

New Function

Full time

const mstotime = require("msToTime.js");

var resultFloat = mstotime.full(1000 , true);
var resultInteger = mstotime.full(1000 , false);

console.log("Float : " + resultFloat + " | Int : " + resultInteger);

output :

Float : 00.0002777777777777778:00.016666666666666666:01 | Int : 0:0:1

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago