UUID 0.1

Generate an UUID as per RFC 4122 section 4.4, see http://www.ietf.org/rfc/rfc4122.txt



Details

Author
Wijnand Modderman
Current version
0.1
GitHub
tehmaze/mootools-uuid
Downloads
2517
Category
Utilities
Tags
Report
GitHub Issues

Releases


Dependencies

  • core/1.2.4:
    • Native.Class
    • Native.Hash

How to use

To generate an UUID4 (as per RFC 4122 section 4.4):

var uuid = Math.uuid();

To generate a compact UUID for a given size:

var uuid = Math.uuidCompact(42);

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus