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

Package Sidebar

Install

npm i simple-timestamp

Weekly Downloads

46

Version

2.0.0

License

MIT

Unpacked Size

2.72 kB

Total Files

4

Last publish

Collaborators

  • stevemao