``` # brower crypto.randomUUID() crypto.randomUUID().replace(/-/g,'') # node import { nanoid } from 'nanoid' model.id = nanoid() //=> "V1StGXR8_Z5jdHi6B-myT" ```