uuidv1
v1.6.14
Published
‘uuidv1’ simply generates UUID v1 (with timestamp). Works in both Node.js and the browser. Lightweight. No dependencies.
Downloads
12,154
Readme
uuidv1
‘uuidv1’ simply generates UUID v1 (with timestamp). Works in both Node.js and the browser. Lightweight. No dependencies.
Install
NPM
npm install uuidv1
CDN
<script type="text/javascript" src="https://cdn.rawgit.com/jackens/uuidv1/master/uuidv1.js"></script>
or
<script type="text/javascript" src="https://cdn.rawgit.com/jackens/uuidv1/master/uuidv1.min.js"></script>
or
<script type="text/javascript" src="https://unpkg.com/uuidv1/uuidv1.js"></script>
or
<script type="text/javascript" src="https://unpkg.com/uuidv1/uuidv1.min.js"></script>
Usage
var uuidv1 = require('uuidv1')
console.log(uuidv1())