@rojo2/create-random-function

1.0.3 • Public • Published

Create Random Function

Travis CI

import createRandomFunction from "@rojo2/create-random-function";

const random = createRandomFunction();
random() // returns a random value

const initialValue = 2;
const random2 = createRandomFunction(initialValue);
random() !== random2()

NOTE: You should never use this random values for cryptography.

Made with ❤️ by ROJO 2 (http://rojo2.com)

/@rojo2/create-random-function/

    Package Sidebar

    Install

    npm i @rojo2/create-random-function

    Weekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    6.43 kB

    Total Files

    5

    Last publish

    Collaborators

    • aitormm
    • azazeln28