0.0.8 • Published 5 years ago

@mitchallen/uptime v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@mitchallen/uptime

Returns process uptime as a string

Installation

$ npm init
$ npm install @mitchallen/uptime --save

Testing

To test, go to the root folder and type (sans $):

$ npm test

uptime

Module

uptime.toHHMMSS() ⇒ string

Factory method

Kind: static method of uptime
Returns: string - that returns uptime as a string in the form of HH:MM:SS
Example (Usage example)

    var uptime = require("@mitchallen/uptime");
 
    console.log(uptime.toHHMMSS())

Repo(s)


Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago