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

gitbook-plugin-link-checker

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-link-checker

Plugin that checks for dead or absolute links

  • 1.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

This plugin checks two things:

  • If links to documents within the book are not with a domain (i. e. don't start with http:// or https://)
  • If links to documents are not pointing to non-existing files

You can either set the plugin to break the build or flush warnings. It works only for markdown link syntax [text](url), it doesn't work for plain HTML.

Options:

  • fqdn - List of domains that the checker should check. If any of those occur in a link, it's bad.
  • dieOnError - If set to true, the build will stop, otherwise the plugin will flush only warnings

To add this plugin, enter the following in the book.json file:

{
    "plugins": [ "link-checker" ],
    "pluginsConfig": {
        "link-checker": {
            "fqdn": [
              "developers.windingtree.com"
            ],
            "dieOnError": false
        }
    }
}

FAQs

Package last updated on 05 Mar 2019

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