Skip to content

Set of javascript helpers to manage prismic.io fragments from the api v2

Notifications You must be signed in to change notification settings

tornqvist/prismic-helpers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript library with a set of helpers for Prismic

Get link url from any kind of Prismic Link: DocumentLink, WebLink, MediaLink

PrismicHelpers.Link.url(mydoc.data.myLink, ctx.linkResolver)

Convert a Date as string from the API to an ISO Date:

PrismicHelpers.Date(mydoc.data.mydate)

About

Set of javascript helpers to manage prismic.io fragments from the api v2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%