a-timestamp-generator
v1.0.0
Published
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Travis](https://img.shields.io/travis/adorsys/npm-timestamp-generator.svg?style=flat-square)](https://travis
Downloads
10
Readme
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 // is always true
Tests
First install dev dependencies with npm install
, then run npm test
.