a-timestamp-generator

[![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

Usage no npm install needed!

<script type="module">
  import aTimestampGenerator from 'https://cdn.skypack.dev/a-timestamp-generator';
</script>

README

a-timestamp-generator

styled with prettier Travis Coverage Status npm npm license

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.