🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@sanity/uuid

Package Overview
Dependencies
Maintainers
38
Versions
384
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/uuid

Simple generation of sanity document IDs

latest
Source
npmnpm
Version
3.0.2
Version published
Weekly downloads
554K
6.24%
Maintainers
38
Weekly downloads
 
Created
Source

@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

Keywords

sanity

FAQs

Package last updated on 27 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts