iden
Unique identifier generator.



*
Usage
*
Examples
*
API
*
Inspiration
*
Contributing
*
License
Installation
$3
npm install iden
$3
bower install iden
$3
Use
dist/iden.js or
dist/iden.min.js (minified version).
Usage ↑
$3
``
js
import * as iden from 'iden';
`
$3
`
js
var iden = require("iden");
`
$3
`
js
var iden = require("gamtiq/iden");
`
$3
`
js
define(["path/to/dist/iden.js"], function(iden) {
...
});
`
$3
`
html
`
$3
`
js
iden.getUuid(); // uuid in form of xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
`
API ↑
$3
Generate unique identifier (UUID as described in RFC 4122 version 4).
See doc` folder for details.
Inspiration ↑
*
http://stackoverflow.com/questions/105034/create-guid-uuid-in-javascript
*
leahciMic/uuid-v4
*
broofa/node-uuid
*
makeable/uuid-v4.js
Contributing ↑
In lieu of a formal styleguide, take care to maintain the existing coding style.
Add unit tests for any new or changed functionality.
Lint and test your code using
Grunt.
License ↑
Copyright (c) 2016 Denis Sikuler
Licensed under the MIT license.