Skip to content

Commit

Permalink
Update README.md (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Sokolov authored and broofa committed Jun 28, 2017
1 parent 8e23981 commit 880d24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -171,15 +171,15 @@ uuid.v4(null, buffer, 16);
### Version 5

```javascript
const uuidv5 = require('uuid/v4');
const uuidv5 = require('uuid/v5');

// Allowed arguments
uuidv5(name, namespace);
uuidv5(name, namespace, buffer);
uuidv5(name, namespace, buffer, offset);
```

Generate and return a RFC4122 v4 UUID.
Generate and return a RFC4122 v5 UUID.

* `name` - (String | Array[]) "name" to create UUID with
* `namespace` - (String | Array[]) "namespace" UUID either as a String or Array[16] of byte values
Expand Down

0 comments on commit 880d24e

Please sign in to comment.