Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
gatsby-plugin-feed
Advanced tools
Create an RSS feed (or multiple feeds) for your Gatsby site.
npm install --save gatsby-plugin-feed
// In your gatsby-config.js
siteMetadata {
title: `GatsbyJS`,
description: `A fantastic new static site generator.`,
site_url: `https://www.gatsbyjs.org`
},
plugins: [
{
resolve: `gatsby-plugin-feed`
}
]
Above is the minimal configuration required to begin working. If you wish to customize the query being executed to retrieve nodes, try this:
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-plugin-feed`,
options: {
query: `
{
site {
siteMetadata {
title
description
site_url
}
}
}
`,
feeds: [
{
query: `
{
allMarkdownRemark(
limit: 1000,
sort: { order: DESC, fields: [frontmatter___date] },
frontmatter: { draft: { ne: true } }
) {
edges {
node {
excerpt
html
fields { slug }
frontmatter {
title
date
}
}
}
}
}
`,
output: '/rss.xml'
}
]
}
}
]
FAQs
Creates an RSS feed for your Gatsby site.
The npm package gatsby-plugin-feed receives a total of 16,281 weekly downloads. As such, gatsby-plugin-feed popularity was classified as popular.
We found that gatsby-plugin-feed demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.