https://github.com/codewithkyle/uuid
Lightweight web-based UUID utility functions.
https://github.com/codewithkyle/uuid
esmodule uuid4
Last synced: 3 months ago
JSON representation
Lightweight web-based UUID utility functions.
- Host: GitHub
- URL: https://github.com/codewithkyle/uuid
- Owner: codewithkyle
- License: mit
- Created: 2021-11-15T12:49:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-15T23:14:16.000Z (over 3 years ago)
- Last Synced: 2025-03-11T14:52:23.243Z (3 months ago)
- Topics: esmodule, uuid4
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@codewithkyle/uuid
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# UUID
Lightweight (500 byte) web-based UUID utility functions.
- native UUID v4 support
- UTC time ordered UUIDs## Installation
Install via NPM
```bash
npm i -S @codewithkyle/uuid
```Install via CDN
```html
```
```javascript
import { UUID, orderedUUID } from "https://unpkg.com/@codewithkyle/uuid@1/uuid.min.mjs";
```## Usage
```typescript
import { UUID, orderedUUID } from "@codewithkyle/uuid";UUID() // 2834d4a2-4768-41d6-be77-e14b1d2c3a93
orderedUUID() // 94e2c93c-4394-45e9-abff-0d88b0bd9eff
```