atm-timestamp

1.1.1 • Public • Published

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 HH:MM:ss.mmm format (e.g. '14:52:50.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'

/atm-timestamp/

    Package Sidebar

    Install

    npm i atm-timestamp

    Weekly Downloads

    10

    Version

    1.1.1

    License

    LGPL-2.1

    Last publish

    Collaborators

    • timgabets