Socket
Socket
Sign inDemoInstall

apollo-link-prismic

Package Overview
Dependencies
36
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    apollo-link-prismic

Apollo link for Prismic


Version published
Weekly downloads
3K
decreased by-21.27%
Maintainers
1
Install size
7.69 MB
Created
Weekly downloads
 

Readme

Source

Purpose

An Apollo Link that allow you query the Prismic GraphQL API with apollo-client.

Installation

npm install apollo-link-prismic --save

Usage

import { PrismicLink } from 'apollo-link-prismic';

const apolloClient = new ApolloClient({
  link: PrismicLink({
    uri: "YOUR_GRAPHQL_ENDPOINT",
    accessToken: "YOUR_ACCESS_TOKEN",
  }),
  cache: new InMemoryCache()
});

Keywords

FAQs

Last updated on 24 Aug 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