Skip to content

LiamMartens/serialize-sanity-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serialize-sanity-path

This utility can be used to serialize a sanity "Path" as a object accessor string. The code was pulled from @sanity/import/src/serializePath.js and converted into TypeScript.

The utility can be useful for Sanity custom inplut plugin developers.

Example

import { serializePath } from 'serialize-sanity-path';
const serialized = serializePath(path);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published