New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-source-freeindex

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-freeindex

Gatsby source plugin to add Freeindex Reviews.

0.0.7
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

gatsby-source-freeindex

npm i gatsby-source-freeindex
yarn add gatsby-source-freeindex

Want to show your Freeindex reviews in your Gatsby application? Then this is the package for you.

Install this package, and add 'gatsby-source-freeindex' to your plugins array in gatsby-config.js.

You must have a variable in your .env file called YELL_BUSINESS_ID. You can find this by visiting your page on Freeindex here. Your Business ID will then be rapid-formations-london-8353622.

Once you have added the environment variable above, you can run gatsby develop. Proceed to the GraphQL interface e.g. localhost:3000/___graphql.

You can then run the following query to fetch all your Freeindex reviews.

{
  allYellReview {
    edges {
      node {
        id
        author
        title
        content
        score
        createdAt
      }
    }
  }
}

Keywords

gatsby

FAQs

Package last updated on 12 Mar 2020

Did you know?

Socket

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