@escale/prismic-utils
v0.4.2
Published
## introduction
Downloads
21
Readme
prismic-utils
introduction
Today we have a lot of projects using Prismic in our company and we need to manipulate a lot of documents. In most cases, we use a script to handle this manipulation but all scripts have complex specific rules for our projects that made it so hard to be executed for another developer.
solution
Create a project to centralize all scripts we have, with no specific rules and simple usage for everyone. Those scripts should receive the prismic documents and execute some manipulation, returning a new document that should be imported in the same prismic project.
requirement
- node (version 14+)
- prismic medium or later (with import/export feature)
how to use
🚧 WIP
main features
- replaceTerms
🚧 WIP