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

gatsby-image-sitemap

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-image-sitemap

Generate sitemap for Gatsby Apps with all image + all resolutions from the built pages.

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
77
decreased by-50.32%
Maintainers
2
Weekly downloads
 
Created
Source

gatsby-image-sitemap

This plugin is not a replacement of gatsby-plugin-sitemap, but an extension. It crawls all the output pages, collects all the images with their different resolutions and inserts them into a sitemap file. It uses cheerio to parse the DOM of the built pages and sitemap to generate a working XML sitemap.

How to install:

yarn add gatsby-image-sitemap

then add

plugins: ["gatsby-image-sitemap"]

to your gatsby-config.js

Next steps

  • Add tests
  • Parse non-gatsby images as well

Contributions

All contributions are welcome, as long as you use https://github.com/enhancv/prettier to format the code and make a pull-request with properly documented changes.

License

Licensed under the MIT license.

Create your resume with Enhancv to make sure the key things come across. Stand out and get that interview. https://enhancv.com

Keywords

FAQs

Package last updated on 03 Feb 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc