arleyhr
1/8/2016 - 2:31 PM

Simple uuid generator

Simple uuid generator

var crypto = require('crypto')

module.exports = function(){
	
	return crypto.randomBytes(5).toString('hex') +'-'+crypto.randomBytes(5).toString('hex') + '-'+(new Date().getTime());
}