Socket
Socket
Sign inDemoInstall

prismic-helpers

Package Overview
Dependencies
0
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    prismic-helpers

Set of helpers to manage prismic data from api v2


Version published
Weekly downloads
37K
decreased by-10.05%
Maintainers
2
Install size
5.93 kB
Created
Weekly downloads
 

Readme

Source

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)

FAQs

Last updated on 16 Apr 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc