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

1.0.1 • Public • Published

universal-random-uuid

Universal WHATWG Crypto API random UUID generator for Node and Browsers

Installation

# npm
npm install universal-random-uuid

# yarn
yarn add universal-random-uuid

# pnpm
pnpm add universal-random-uuid

Usage

// ESM / TypeScript
import { randomUUID } from 'universal-random-uuid';

// CommonJS
const { randomUUID } = require('universal-random-uuid');

Readme

Keywords

Package Sidebar

Install

npm i universal-random-uuid

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.35 kB

Total Files

8

Last publish

Collaborators

  • asonnleitner