Socket
Socket
Sign inDemoInstall

super-simple-sitemap-generator

Package Overview
Dependencies
44
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    super-simple-sitemap-generator

Node.js powered scrapper that generates a sitemap.xml file from command line with just an URL.


Version published
Weekly downloads
12
increased by300%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

License NPM Version NPM Downloads

A node.js powered scrapper 🔥 that iterates trough all the internal links of the specified url.

It works on CSR pages (React, Angular) with dynamic urls.

Once it is done it generates a sitemap.xml file with all the urls found, ready to be uploaded to Google Search Console.

Usage:
$ sitemap https://vvlog.dev
Params:
Parametertypedefaultdescription
--waitinteger1500Specify the time (milliseconds) to wait (So the fetches are completed) before starting to parse the page.
--limitinteger999999Specify the limit of urls to parse before stopping the scrapper.
Todo:
  • Make it a NPM package.
  • Make wait time dynamic in response of fetches inside url.
  • New params that lets you specify how deep you want to go inside the url.
  • Integrate it as part of build process of a create-react-app.
  • Clean old code.

Keywords

FAQs

Last updated on 27 Feb 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