🌜
🌞
@sanity/uuid

@sanity/uuid

v3.0.1

Simple generation of sanity document IDs

npm install @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

General

License
MIT
Typescript Types
Built-in
Tree-shakeable
Yes

Popularity

GitHub Stargazers
3,678
Community Interest
3,215
Number of Forks
323

Maintenance

Commits
11/2110/220450
Last Commit
Open Issues
487
Closed Issues
692
Open Pull Requests
23
Closed Pull Requests
247

Versions

Versions Released
11/2110/2201
Latest Version Released
Nov 10, 2020
Current Tags
latest3.0.1
rc0.125.0-rc.4
beta0.111.6-beta.0
next0.147.10-next.23
vega0.133.0-vega.cb3cdeee
alpha0.139.3-parrot.0
focus0.122.0-focus.5d5f8af0
canary2.0.10-canary.0
spaces0.122.0-spaces.bc70a23d
babel-70.133.0-babel-7.06032ac5
gql-rtb0.136.3-gql-rtb.417
graphql0.136.1-canary.66
cli-next0.122.0-cli-next.76de446a
weakrefs0.122.0-weakrefs.962100b2
structure0.134.0-alpha.d19d4c0c
ts-client0.147.10-ts-client.1
hints-mode0.146.4-hints-mode.156
cheesy-bites0.144.4-cheesy-bites.121
custom-login0.124.0-default-login.063643d2
asset-sources0.147.0-alpha.2
fix-span-keys0.126.0-fix-span-keys.12d2645d
launch-design0.116.0-alpha.afa81e66
review-changes1.150.9-review-changes.1024
document-actions1.148.5-document-actions.23
schema-validation0.118.0-alpha.3044306e
realtime-block-editor0.140.0-alpha.4
initial-value-templates0.143.0-initial-value-templates.55
block-tools-white-space-fix0.147.0-block-tools-white-space-fix.2
handle-access-control-errors0.147.0-handle-access-control-errors.38

Dependencies

Dependencies (2)
Dev Dependencies (3)

Contributors

rexxars
rexxars
Commits: 3,199
bjoerge
bjoerge
Commits: 2,780
kristofferj
kristofferj
Commits: 1,632
mariuslundgard
mariuslundgard
Commits: 1,163
skogsmaskin
skogsmaskin
Commits: 747
vicbergquist
vicbergquist
Commits: 249
simen
simen
Commits: 95
judofyr
judofyr
Commits: 60
hermanwikner
hermanwikner
Commits: 54
benedicteb
benedicteb
Commits: 51
saasen
saasen
Commits: 49
mikolajdobrucki
mikolajdobrucki
Commits: 43
ricokahler
ricokahler
Commits: 40
kmelve
kmelve
Commits: 30
evenwestvang
evenwestvang
Commits: 28