1.0.0 • Published 6 years ago

lonly-uuidjs v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

uuidjs

Build Status

UUID.js - A JavaScript library to generate RFC 4122 compliant UUID

中文文档

INSTALL

Download lib/index.js or call npm install lonly-uuidjs.

Then, load lib/index.js.

<script src="src/uuid.js"></script>

Or, import uuidjs.

import UUID from "lonly-uuidjs"

USAGE EXAMPLES

UUID.generate() returns a version 4 UUID as a hexadecimal string.

// Create a version 4 UUID as a hexadecimal string
console.log(UUID.generate);   // fa84cf42-ffdf-4975-b42b-31ab5fb983eb

AUTHOR

Lonly lonly197@gmail.com