linkinator
Advanced tools
Comparing version 2.7.0 to 2.8.0
{ | ||
"name": "linkinator", | ||
"description": "Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"license": "MIT", | ||
@@ -19,3 +19,4 @@ "repository": "JustinBeckwith/linkinator", | ||
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json", | ||
"lint": "gts check" | ||
"lint": "gts lint", | ||
"build-binaries": "pkg . --out-path build/binaries" | ||
}, | ||
@@ -52,6 +53,7 @@ "dependencies": { | ||
"codecov": "^3.6.1", | ||
"execa": "^4.0.0", | ||
"execa": "^5.0.0", | ||
"gts": "^3.0.0", | ||
"mocha": "^8.0.0", | ||
"nock": "^13.0.0", | ||
"pkg": "^4.4.9", | ||
"semantic-release": "^17.0.0", | ||
@@ -58,0 +60,0 @@ "sinon": "^9.0.0", |
@@ -13,7 +13,7 @@ # 🐿 linkinator | ||
Behold my latest inator! The `linkinator` provides an API and CLI for crawling websites and validating links. It's got a ton of sweet features: | ||
- 🔥Easily perform scans on remote sites or local files | ||
- 🔥Scan any element that includes links, not just `<a href>` | ||
- 🔥Supports redirects, absolute links, relative links, all the things | ||
- 🔥Configure specific regex patterns to skip | ||
- 🔥Scan markdown files without transpilation | ||
- 🔥 Easily perform scans on remote sites or local files | ||
- 🔥 Scan any element that includes links, not just `<a href>` | ||
- 🔥 Supports redirects, absolute links, relative links, all the things | ||
- 🔥 Configure specific regex patterns to skip | ||
- 🔥 Scan markdown files without transpilation | ||
@@ -26,2 +26,4 @@ ## Installation | ||
Not into the whole node.js or npm thing? You can also download a standalone binary that bundles node, linkinator, and anything else you need. See [releases](https://github.com/JustinBeckwith/linkinator/releases). | ||
## Command Usage | ||
@@ -47,6 +49,6 @@ | ||
Path to the config file to use. Looks for `linkinator.config.json` by default. | ||
--format, -f | ||
Return the data in CSV or JSON format. | ||
--help | ||
@@ -63,5 +65,5 @@ Show this command. | ||
Recursively follow links on the same root domain. | ||
--server-root | ||
When scanning a locally directory, customize the location on disk | ||
When scanning a locally directory, customize the location on disk | ||
where the server is started. Defaults to the path passed in [LOCATION]. | ||
@@ -160,3 +162,3 @@ | ||
- `recurse` (boolean) - By default, all scans are shallow. Only the top level links on the requested page will be scanned. By setting `recurse` to `true`, the crawler will follow all links on the page, and continue scanning links **on the same domain** for as long as it can go. Results are cached, so no worries about loops. | ||
- `serverRoot` (string) - When scanning a locally directory, customize the location on disk | ||
- `serverRoot` (string) - When scanning a locally directory, customize the location on disk | ||
where the server is started. Defaults to the path passed in `path`. | ||
@@ -271,3 +273,3 @@ - `timeout` (number) - By default, requests made by linkinator do not time out (or follow the settings of the OS). This option (in milliseconds) will fail requests after the configured amount of time. | ||
### Using a proxy | ||
This library supports proxies via the `HTTP_PROXY` and `HTTPS_PROXY` environment variables. This [guide](https://www.golinuxcloud.com/set-up-proxy-http-proxy-environment-variable/) provides a nice overview of how to format and set these variables. | ||
This library supports proxies via the `HTTP_PROXY` and `HTTPS_PROXY` environment variables. This [guide](https://www.golinuxcloud.com/set-up-proxy-http-proxy-environment-variable/) provides a nice overview of how to format and set these variables. | ||
@@ -280,3 +282,3 @@ ### Globbing | ||
Without the quotes, some shells will attempt to expand the glob paths on their own. Various shells (bash, zsh) have different, somewhat unpredictable behaviors when left to their own devices. Using the quotes ensures consistent, predictable behavior by letting the library expand the pattern. | ||
Without the quotes, some shells will attempt to expand the glob paths on their own. Various shells (bash, zsh) have different, somewhat unpredictable behaviors when left to their own devices. Using the quotes ensures consistent, predictable behavior by letting the library expand the pattern. | ||
@@ -283,0 +285,0 @@ ## License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62408
281
23