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

sitemap-generator-cli

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sitemap-generator-cli - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

10

package.json
{
"name": "sitemap-generator-cli",
"version": "4.0.0",
"version": "4.1.0",
"description": "Create xml sitemaps from the command line.",

@@ -32,3 +32,3 @@ "homepage": "https://github.com/lgraubner/sitemap-generator-cli",

"commander": "^2.9.0",
"sitemap-generator": "^4.0.0"
"sitemap-generator": "^4.1.1"
},

@@ -44,5 +44,5 @@ "preferGlobal": true,

"devDependencies": {
"ava": "^0.14.0",
"eslint": "^2.9.0",
"eslint-config-graubnla": "^2.0.2"
"ava": "^0.15.2",
"eslint": "^3.0.0",
"eslint-config-graubnla": "^3.0.0"
},

@@ -49,0 +49,0 @@ "scripts": {

@@ -18,10 +18,8 @@ # Node Sitemap Generator

The protocol can be omitted, if the domain uses `http` or redirects to `https` are set up.
The crawler will fetch all folder URL pages and file types [parsed by Google](https://support.google.com/webmasters/answer/35287?hl=en). If present the `robots.txt` will be taken into account and possible rules are applied for each URL to consider if it should be added to the sitemap. Also the crawler will not fetch URL's from a page if the robots meta tag with the value `nofollow` is present and ignore them completely if `noindex` rule is present. The crawler is able to apply the `base` value to found links.
The crawler will fetch all folder URL pages and file types [parsed by Google](https://support.google.com/webmasters/answer/35287?hl=en). If present the `robots.txt` will be taken into account and possible rules are applied for each URL to consider if it should be added to the sitemap. Also the crawler will not fetch URL's from a page if the robots meta tag with the value `nofollow` is present. The crawler is able to apply the `base` value to found links.
When the crawler finished the XML Sitemap will be built and printed directly to your console. Pass the sitemap to save the sitemap as a file or do something else:
```BASH
$ sitemap-generator example.com > sitemap.xml
$ sitemap-generator http://example.com > sitemap.xml
```

@@ -32,3 +30,3 @@

```BASH
$ sitemap-generator example.com > ./subfolder/mysitemap.xml
$ sitemap-generator http://example.com > ./subfolder/mysitemap.xml
```

@@ -62,3 +60,3 @@

If you specify an URL with a path (e.g. `example.com/foo/`) and this option is set to `true` the crawler will only fetch URL's matching `example.com/foo/*`. Otherwise it could also fetch `example.com` in case a link to this URL is provided
If you specify an URL with a path (e.g. `http://example.com/foo/`) and this option is set to `true` the crawler will only fetch URL's matching `example.com/foo/*`. Otherwise it could also fetch `example.com` in case a link to this URL is provided

@@ -65,0 +63,0 @@ ### `--dry`

Sorry, the diff of this file is not supported yet

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