-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Leaney
committed
Jun 24, 2015
1 parent
cca5aad
commit d6bf7b0
Showing
1 changed file
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
uuid-v4 | ||
======= | ||
# uuid-v4 | ||
|
||
A lightweight version 4 UUID generator. This code was taken from a stackoverflow answer. | ||
A lightweight version 4 UUID generator. The code was originally taken from a | ||
[stackoverflow answer](http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript) | ||
|
||
All credit goes to broofa (http://stackoverflow.com/users/109538/broofa) | ||
Thanks [broofa](http://stackoverflow.com/users/109538/broofa)! | ||
|
||
http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | ||
# Usage | ||
|
||
```js | ||
var uuid = require('uuid-v4'); | ||
var uuidv4 = uuid(); | ||
``` | ||
|
||
# Changelog | ||
|
||
* 0.0.5 - Fix invalid uuids | ||
- Add test | ||
|
||
# Contributors | ||
|
||
* [leahciMic](https://github.com/leahciMic) | ||
* [ArtskydJ](https://github.com/ArtskydJ) |