0.0.8 • Published 7 years ago

@mitchallen/uptime v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago