Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@jortizsao/gatsby-source-google-reviews
Advanced tools
Gatsby source plugin to add Google Reviews.
npm i gatsby-source-google-reviews
yarn add gatsby-source-google-reviews
Want to show your Google reviews in your Gatsby application? Then this is the package for you.
Install this package, and add 'gatsby-source-google-reviews'
to your plugins array in gatsby-config.js
as shown below:
plugins: [
{
resolve: `gatsby-source-google-reviews`,
options: {
placeId: `placeid`,
},
},
]
You can find your place id here. Simply input the business or location name and Google will do the rest.
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 Google reviews.
{
GoogleReview {
edges {
node {
id
author
content
score
createdAt
}
}
}
}
FAQs
Gatsby source plugin to add Google Reviews.
The npm package @jortizsao/gatsby-source-google-reviews receives a total of 0 weekly downloads. As such, @jortizsao/gatsby-source-google-reviews popularity was classified as not popular.
We found that @jortizsao/gatsby-source-google-reviews demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.