math-random-id

1.0.6 • Public • Published

math-random-id

Generate random id on Math.random()

Usage

import randomID from 'math-random-id'
 
randomID(); // => d7ltdggrh2o

Install

Via Yarn:

yarn add math-random-id

Via NPM:

npm i math-random-id

Browser

Include math-random-id in the page

<!-- unpkg -->
<script src="https://unpkg.com/math-random-id"></script>
<!-- or jsdelivr -->
<script src="https://cdn.jsdelivr.net/npm/math-random-id"></script>

/math-random-id/

    Package Sidebar

    Install

    npm i math-random-id

    Weekly Downloads

    4

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    4 kB

    Total Files

    8

    Last publish

    Collaborators

    • dimensi