safe-random
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

safe-random

use the crypto to get safe random

Installation

npm install safe-random
#or
yarn add safe-random

How to use it

import safeRandom from "safe-random";

safeRandom();

safeRandom(8);

safeRandom(16);

safeRandom(32);

Readme

Keywords

Package Sidebar

Install

npm i safe-random

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

2.72 kB

Total Files

4

Last publish

Collaborators

  • chencaize