Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
This package has been deprecated with the following message: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
Generated on Mar 1, 2024 via pnpm

uuid 3.4.0

RFC4122 (v1, v4, and v5) UUIDs
Package summary
Share
1
issue
1
high severity
meta
1
1
license
1
MIT
Package created
31 Mar 2011
Version published
16 Jan 2020
Maintainers
2
Total deps
1
Direct deps
0
License
MIT

Issues

1

1 high severity issue

high
via: uuid@3.4.0
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
uuid@3.4.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of uuid 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does uuid do?

The UUID (Universally Unique Identifier) npm package is a library for the creation of RFC4122 UUIDs, supporting versions 1, 3, 4, and 5. It's important to note that it is cross-platform friendly. It is sidely compatible with different environments such as CommonJS, ECMAScript Modules, NodeJS 12+ LTS releases, as well as various browsers including Chrome, Safari, Firefox, and Edge. Also, it works well with Webpack and rollup.js module bundlers and React Native/Expo. For providing cryptographically strong random values, it is considered secure. Additionally, this library has zero dependencies making it small, ideal for "tree shaking" packagers.

How do you use uuid?

Using UUID in your project is easy and straightforward. To install the UUID package using npm, run npm install uuid in your terminal. Then, you can import and use it in your JavaScript file. Use the ES6 module syntax import { v4 as uuidv4 } from 'uuid'; and then call uuidv4(); to create a random UUID. Similarly, with CommonJS syntax, use const { v4: uuidv4 } = require('uuid') and call uuidv4();. UUID has numerous other utilities that can be employed depending on your needs, and example codes are readily provided in the docs for your convenience.

Where are the uuid docs?

For comprehensive documentation and further instructions, you can refer to the UUID GitHub page. Here you'll find extensive API documentation, elaborate usage examples, known issues, and more. This will provide you with all the information necessary to use this library to its fullest.