a-nonce-generator
v2.0.1
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-nonce-generator.svg?style=flat-square)](https://travis-ci.
Downloads
65
Readme
a-nonce-generator
A generator for creating nonces. It uses the package 'seedrandom' for better randomness.
Homepage
https://adorsys.github.io/npm-nonce-generator/
Installation
npm install a-nonce-generator
Usage
import NonceGenerator from 'a-nonce-generator';
const ng = new NonceGenerator()
const nonce = tg.generate();
Tests
Install dev dependencies with npm install
, then run npm test
.