Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

install

npm i simple-timestamp

Downloadsweekly downloads

42

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability