npm.io
1.1.1 • Published 9 years ago

atm-timestamp

Licence
LGPL-2.1
Version
1.1.1
Deps
0
Vulns
0
Weekly
0

atm-timestamp

A timestamp service used by Electron ATM and ATM State Navigator applications. The get() method of the service returns current time string in HHss.mmm format (e.g. '1450.007'), which may be used in traces, logs etc.

Install

npm install atm-timestamp

To Use:

> var Timestamp = require('atm-timestamp');
> var t = new Timestamp();
> t.get()
'14:52:01.548'
> t.get()
'14:52:50.007'

Keywords