var uuid4 = require('uuid/v4')

/**
 * Generates RFC4122 version 4 guid ()
 */

export default function random() {
  return uuid4().replace(/-/g, '');
}

import uuid4 from 'uuid/v4';

/**
 * Generates RFC4122 version 4 guid ()
 */

export default function random() {
  return uuid4().replace(/-/g, '');
}

Use ES6 import for uuid/v4 rather than require
Use ES6 import for uuid/v4 rather than require
