@thi.ng/uuid
TypeScript icon, indicating that this package has built-in type declarations

1.1.10 • Public • Published

@thi.ng/uuid

npm version npm downloads Mastodon Follow

[!NOTE] This is one of 199 standalone projects, maintained as part of the @thi.ng/umbrella monorepo and anti-framework.

🚀 Please help me to work full-time on these projects by sponsoring me on GitHub. Thank you! ❤️

About

Fast binary & string-based UUID v4 generation.

This package contains functionality which was previously part of and has been extracted from the @thi.ng/random package.

Status

STABLE - used in production

Search or submit any issues for this package

Installation

yarn add @thi.ng/uuid

ESM import:

import * as uuid from "@thi.ng/uuid";

Browser ESM import:

<script type="module" src="https://esm.run/@thi.ng/uuid"></script>

JSDelivr documentation

For Node.js REPL:

const uuid = await import("@thi.ng/uuid");

Package sizes (brotli'd, pre-treeshake): ESM: 194 bytes

Dependencies

API

Generated API docs

TODO

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-uuid,
  title = "@thi.ng/uuid",
  author = "Karsten Schmidt",
  note = "https://thi.ng/uuid",
  year = 2020
}

License

© 2020 - 2024 Karsten Schmidt // Apache License 2.0

Package Sidebar

Install

npm i @thi.ng/uuid

Homepage

thi.ng/uuid

Weekly Downloads

8

Version

1.1.10

License

Apache-2.0

Unpacked Size

18 kB

Total Files

6

Last publish

Collaborators

  • thi.ng