nodejs6.10/run/awslambda-mock.js
function uuid() {
  return crypto.randomBytes(4).toString('hex') + '-' +
    crypto.randomBytes(2).toString('hex') + '-' +
    crypto.randomBytes(2).toString('hex').replace(/^./, '1') + '-' +
    crypto.randomBytes(2).toString('hex') + '-' +
    crypto.randomBytes(6).toString('hex')
}
function uuid() {
  return crypto.randomBytes(4).toString('hex') + '-' +
    crypto.randomBytes(2).toString('hex') + '-' +
    crypto.randomBytes(2).toString('hex').replace(/^./, '1') + '-' +
    crypto.randomBytes(2).toString('hex') + '-' +
    crypto.randomBytes(6).toString('hex')
}
function uuid ( ) { return crypto . randomBytes ( 4 ) . toString ( 'hex' ) + '-' + crypto . randomBytes ( 2 ) . toString ( 'hex' ) + '-' + crypto . randomBytes ( 2 ) . toString ( 'hex' ) . replace ( / ^. / , '1' ) + '-' + crypto . randomBytes ( 2 ) . toString ( 'hex' ) + '-' + crypto . randomBytes ( 6 ) . toString ( 'hex' ) }
Approximates the look of a v1 UUID
Approximates the look of a v1 UUID