npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hexo-seo-link-visualizer

v0.0.3

Published

Analyze link and visualize the site structure for Hexo.

Downloads

3

Readme

hexo-seo-link-visualizer

Analyze link and visualize the site structure for Hexo .

Screenshot

Overview

Plugin analyze internal links and external links and Table of Contents in your site. This plugin can be used to visualize internal link and find quickly problems for site structure. Show Article Map for WordPress was very helpful to me :D

Installation

$ npm install hexo-seo-link-visualizer --save

Usage

First of all , you should to add npm script. Please insert as follow code at package.json.

"scripts": {
    "show-article-map": "node node_modules/hexo-seo-link-visualizer/app/show-article-map.js"
},

Next , Please run server and excute npm script. ($ hexo clean be sure to run.)

$ hexo clean
$ hexo server
$ npm run show-article-map

Last , Please run server of link visualizer. Since the default URL is localhost:1234, open this URL.

Options

You can change plugin settings with as follow option. Please edit _config.yml.

# hexo-seo-link-visualizer's option
seoLinkVisualizer:
  enable: true
  cache: cache/seo-link-visualizer.json
  port: 1234
  previewHost: localhost:4000/
  categoryDepthLimits: 1    
  allowedSourcePath:
    - _posts/
    # - _drafts
  ignoreLink:
    int:
    ext:
      - amazon
      - amz
      - flickr
    toc:
  • enable

    You can enable or disable this plugin. Default value is true.

  • cache

    The location of the file to save the analysis data. Default location is /seo-link-visualizer.json.

  • port

    Port of link visualizer page. Default port is 1234(localhost:1234).

  • previewHost

    The address of the hexo's local server. Default url is localhost:4000/

  • categoryDepthLimits

    The depth limit of the category to parse. The deeper the category, the more color-coded. Default value is 1. With 0 disables the restriction.

  • allowedSourcePath

    Source directory of article to be analyzed. By default, all articles below source/_posts are parsed. When you do not want to analyze source/_drafts, explicitly specify _posts/ with this option.

  • ignoreLink

    Specify a character string that you do not want to analyze link.

License

MIT