Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-auto-link-ckecker

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-auto-link-ckecker

Automatically detects broken links.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

This plugin for Hexo can automatically detects broken links.

Installation

$ npm install hexo-auto-link-ckecker --save

Usage

$ hexo clean
$ hexo s

The parsed link is created in cache/hexo-auto-link-checker.json . If there are broken external links, internal links, and TOC, they are displayed in the console message. The link check system is automatically searched one article's link at a time each time $ hexo s is executed.

Screenshot

Option

Please set the following options. Please edit _config.yml.

# hexo-auto-link-chekcer
autoLinkChecker:
  # enable: false
  rarelyChangePostsPath: 404/
  cachePath: cache/hexo-auto-link-checker.json
  exclusionURL:
    - hoge-url/
    - articles-toc
enable

Specify false to disable the plug-in.

rarelyChangePostsPath

Specify the path of an article that changes less frequently. Necessary for the plug-in to work in all server's situations.

cachePath

Save the analysis result of the article as a cache file. It also generates a log file for broken links as hexa-auto-link-checker-brokenLinks.txt. Please check the broken URL from the console's message or this txt file.

exclusionURL

Specify the URL that you want to exclude from the judgment.

License

MIT

Keywords

FAQs

Package last updated on 12 Oct 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