1.0.6 • Published 7 years ago
math-random-id v1.0.6
math-random-id
Generate random id on Math.random()
Usage
import randomID from 'math-random-id'
randomID(); // => d7ltdggrh2oInstall
Via Yarn:
yarn add math-random-idVia NPM:
npm i math-random-idBrowser
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>