Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Node JS Time Formatter

A Time Formatter to format seconds into readable text.

Install

$ npm install node-js-time-formatter

Usage

const format = require('node-js-time-formatter')

let table = {
    "HypnoticSiege": {
        "discordID": "479456028967305247",
        "playTime": 60
    }
}

format(table["HypnoticSiege"].playTime)

Returns:

0 Days, 0 Hours, 1 Minutes, and 0 Seconds

About

A Time Formatter to format seconds into readable text.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages