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 🙏

© 2026 – Pkg Stats / Ryan Hefner

vuepress-theme-paocaijun

v1.3.0

Published

vuepress-theme

Downloads

73

Readme

vuepress-theme-paocaijun

vuepress leancloud-storage valine

  1. It's a vuepress theme aimed at adding the categories, TAB walls, pagination, comments and other features required for blogging, suitable for vuepress 0.x;
  2. The theme itself is minimalist and is modified based on the default theme of the vuepress;

Preview

Installation and use

  1. Install

    npm install vuepress-theme-paocaijun -dev--save
    
    # or
    
    yarn add vuepress-theme-paocaijun
  2. Use

    // 修改 /docs/.vuepress/config.js
    
    module.exports = {
      theme: 'paocaijun'
    }

Add categories

If want to add a front-end and back-end classification, need to undertake the following steps:

  1. Add a category drop button to the top navigation

    // change /docs/.vuepress/config.js
    
    module.exports = {
      theme: 'paocaijun',
      themeConfig: {
        nav: [
          { text: 'categories',
            items: [
              { text: 'frontEnd', link: '/categories/frontEnd' },
              { text: 'backEnd', link: '/categories/backEnd' }
            ]
          }
        ]
      }
    }
  2. Add the files needed for classification

    /docs/categories/frontEnd.md

    ---
    title: frontEnd
    isCategories: true
    sidebar: false
    ---
    
    ## FrontEnd

    /docs/categories/backEnd.md

    ---
    title: backEnd
    isCategories: true
    sidebar: false
    ---
    
    ## BackEnd

    Why do you set sidebar false? Because you enable classification, that's a little bit of a conflict with the custom sidebar feature, so you globally turn on the auto sidebar feature, and then close it where you don't need a side marker

  3. Add categories when writing articles

    ---
    title: proxyTable
    date: 2017-12-28
    categories: frontEnd
    ---

    Remember, categories corresponding value to file and the corresponding classification title values are consistent.

Add tag cloud

  1. Add a button to the top navigation

    // change /docs/.vuepress/config.js
    
    module.exports = {
      theme: 'paocaijun',
      themeConfig: {
        nav: [
          { text: 'Tags', link: '/tags/' }
        ]
      }
    }
  2. Add the required files

    /docs/tags/README.md

    ---
    isTags: true
    sidebar: false
    ---
    
    ## tag cloud
  3. Add tags when writing articles

    ---
    title: 【vue】1
    date: 2017-12-28
    tags:
    - vue
    - webpack
    ---

Comment(valine)

Theme with a built-in valine comments, if you want to open this function, only configure your config.js

// change /docs/.vuepress/config.js

module.exports = {
  theme: 'paocaijun',
  themeConfig: {
    valineConfig: {
      appId: '...',// your appId
      appKey: '...', // your appKey
    }
  }
}

Config.js

  1. On the mobile side, the search box will enlarge when it gets the focus, and it can scroll left and right after losing the focus, which can be optimized by setting the meta.
module.exports = {
	head: [
		[
			"meta",
			{
				name: "viewport",
				content: "width=device-width,initial-scale=1,user-scalable=no"
			}
		]
	]
}
  1. You can add icon to the navigation menu,like this:
{ text: 'Tags', link: '/tags/', icon: 'paocaijun-tag' }

The project has built-in icons for you to choose

icon.png

Home Config

  1. If your heroImage has your website title, maybe you need to set the value of isShowTitleInHome false to make title not show
# this is your homepage

---
home: true
heroImage: /hero.png
isShowTitleInHome: false
---
  1. If you want change heroImage's style, you can set the value of heroImageStyle to achieve the effec you want
# this is your homepage

---
home: true
heroImage: /hero.png
heroImageStyle: {
  maxHeight: '200px',
  display: block,
  margin: '6rem auto 1.5rem',
  borderRadius: '50%',
  boxShadow: '0 5px 18px rgba(0,0,0,0.2)'
}
---
  1. Home page footer can no longer be edited at will, only the owner's name can be changed. The global author name will be displayed first, and if not, the title of the blog will be displayed