import { v4 as uuidv4 } from 'uuid'; /** * @name uniqid * @namespace js.string * @type Function * @platform js * @status stable * @async * * This function simply returns you a unique id * * @return {String} A uniqid * * @todo tests * * @snippet __uniqid() * * @example js * import { __uniqid } from '@lotsof/sugar/string'; * const id = __uniqid(); * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export default uuidv4;