@escale/prismic-utils

0.4.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @escale/prismic-utils

Weekly Downloads

1

Version

0.4.2

License

MIT

Unpacked Size

31.8 kB

Total Files

29

Last publish

Collaborators

  • escaletech
  • lcfumes
  • oandrelopes
  • jvsa7