1.6.14 • Published 6 years ago

uuidv1 v1.6.14

Weekly downloads
1,809
License
ISC
Repository
github
Last release
6 years ago

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())