simple-timestamp

2.0.0 • Public • Published

NPM version Build Status Dependency Status Coverage Status

Get a simple timestamp

Fast as it doesn't have bloated methods.

Install

$ npm install --save simple-timestamp

Usage

var simpleTimestamp = require('simple-timestamp');
 
simpleTimestamp();
// => 20181108161103
 
simpleTimestamp({
  separator: '.'
});
// => 2018.11.08.16.12.06
$ npm install --global simple-timestamp
$ simple-timestamp
20181108161103

License

MIT © Steve Mao

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    26
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    26
  • 1.0.0
    6
  • 0.0.0
    1

Package Sidebar

Install

npm i simple-timestamp

Weekly Downloads

28

Version

2.0.0

License

MIT

Unpacked Size

2.72 kB

Total Files

4

Last publish

Collaborators

  • stevemao