@sanity/uuid
v3.0.2
Published
Simple generation of sanity document IDs
Downloads
569,584
Maintainers
Readme
@sanity/uuid
Generate a valid Sanity document ID
Installation
$ npm install @sanity/uuid
// or
$ yarn add @sanity/uuid
Usage
import {uuid} from '@sanity/uuid'
const id = uuid()
console.log(id)
//=> 76dc5edf-9c43-4bab-a62d-4a2cad650053
License
MIT © Sanity.io