@sanity/uuid
@sanity/uuid
npm i @sanity/uuid
@sanity/uuid

@sanity/uuid

The Sanity Studio – Collaborate in real-time on structured content

by sanity-io

3.0.1 (see all)License:MITTypeScript:Built-In
npm i @sanity/uuid
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

Downloads/wk

50.1K

GitHub Stars

3.7K

LAST COMMIT

7mos ago

MAINTAINERS

22

CONTRIBUTORS

78

OPEN ISSUES

489

OPEN PRs

23
VersionTagPublished
3.0.1
latest
2yrs ago
2.0.10-canary.0
canary
2yrs ago
1.150.9-review-changes.1024
review-changes
2yrs ago
1.148.5-document-actions.23
document-actions
3yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate