a-timestamp-generator
A generator for creating timestamps.
Homepage
https://adorsys.github.io/npm-timestamp-generator/
Installation
npm install a-timestamp-generator
Usage
import TimestampGenerator from 'a-timestamp-generator';
const tg = new TimestampGenerator()
const firstTimestamp = tg.generate();
const secondTimestamp = tg.generate();
firstTimestamp < secondTimestamp
Tests
First install dev dependencies with npm install
, then run npm test
.