https://github.com/streamich/v4-uuid
Simple UUID for browser without crypto dependency
https://github.com/streamich/v4-uuid
Last synced: 10 months ago
JSON representation
Simple UUID for browser without crypto dependency
- Host: GitHub
- URL: https://github.com/streamich/v4-uuid
- Owner: streamich
- License: unlicense
- Created: 2019-04-15T09:48:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:26:51.000Z (over 2 years ago)
- Last Synced: 2025-08-12T08:16:14.868Z (11 months ago)
- Language: TypeScript
- Size: 113 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# v4-uuid
Simple Version 4 (random) UUID generator for browser, without any dependencies.
Calls `Math.random()` twice to generate a single UUID.
## Usage
```shell
npm i v4-uuid
```
now
```js
import uuid from 'v4-uuid';
console.log(uuid())
```
## License
[Unlicense](LICENSE) — public domain.