New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

js-uuid

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-uuid

A browser wrapper for a rigorous implementation of RFC4122 (v1 and v4) UUIDs.

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

js-uuid

js-uuid is an browser wrapper for Robert Kieffer's node-uuid, which provides simple, fast generation of RFC4122 UUIDS. Based on munkychop's fork angular-uuid.

Features

  • Generate RFC4122 version 1 or version 4 UUIDs
  • Cryptographically strong random # generation on supporting platforms
  • Tiny file size when minified.

Installation

If using CommonJS then simply require js-uuid as per usual:

npm install --save js-uuid
require("js-uuid");
// ES6
import uuid from 'js-uuid';

Otherwise use a regular script tag:

<script src="js-uuid.js"></script>
<script>uuid.v4();</script>

Documentation

Full documentation is available via the original project's readme: https://github.com/broofa/node-uuid/blob/master/README.md

Keywords

FAQs

Package last updated on 11 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc