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-tassel

v1.1.9

Published

a theme for vuepress

Readme

valine element-ui

Vuepress-theme-tassel

a good theme for vuepress, you can design your theme by this theme.

Usage

在首页面README.md设置如下:

---
home: true
---
yarn add vuepress-theme-tassel

在config.js中的配置`theme: 'tassel'`

Configuration

在config.js中的themeConfig配置如下参数

    nav: {
      {
        text: 'Posts',
        link: '/posts/'
      },
      {
        text: 'Archives',
        link: '/archives/'
      },
      {
        text: 'Tags',
        link: '/tags/'
      }
    },
    homePage: 'Post', // Post or HomeLayout
    valineConfig: {
      appId: '',
      appKey: '',
      notify: false,
      verify: false,
      avatar: 'mm',
      placeholder: 'just go go...',
      pageSize: 15,
      visitor: true,
      highlight: true,
      recordIP: true
    },
    homeConfig: {
      homeSrc: '',
      nickname: 'finen',
      signature: '你好',
      urllink1: '',
      urllink1_text: '',
      urllink2: '',
      urllink2_text: '',
      copyright: '',
      beian: '',
      github_url: '', // https
      github: ''
    },
    author: 'finen',

All Configurations

const { fs, path } = require('@vuepress/shared-utils')

module.exports = ctx => ({
  dest: '../../vuepress',
  locales: {
    '/': {
      lang: 'en-US',
      title: 'VuePress 1.x',
      description: 'Vue-powered Static Site Generator'
    },
    '/zh/': {
      lang: 'zh-CN',
      title: 'VuePress 1.x',
      description: 'Vue 驱动的静态网站生成器'
    }
  },
  head: [
    ['link', { rel: 'icon', href: `/logo.png` }],
    ['link', { rel: 'manifest', href: '/manifest.json' }],
    ['meta', { name: 'theme-color', content: '#3eaf7c' }],
    ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
    ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
    ['link', { rel: 'apple-touch-icon', href: `/icons/apple-touch-icon-152x152.png` }],
    ['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3eaf7c' }],
    ['meta', { name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png' }],
    ['meta', { name: 'msapplication-TileColor', content: '#000000' }]
  ],
  theme: 'tassel',
  themeConfig: {
    repo: 'vuejs/vuepress',
    editLinks: true,
    docsDir: 'docs',
    homePage: 'HomeLayout', // Post or HomeLayout
    valineConfig: {
      appId: '',
      appKey: '',
      notify: false,
      verify: false,
      avatar: 'mm',
      placeholder: 'just go go...',
      pageSize: 15,
      visitor: true,
      highlight: true,
      recordIP: true
    },
    homeConfig: {
      homeSrc: '',
      nickname: 'finen',
      signature: '',
      urllink1: '',
      urllink1_text: '',
      urllink2: '',
      urllink2_text: '',
      copyright: '',
      beian: '',
      github_url: '',
      github: ''
    },
    author: 'finen',
    nav: require('./nav/index'),
    locales: {
      '/': {
        // label: 'English',
        // selectText: 'Languages',
        // editLinkText: 'Edit this page on GitHub',
        // lastUpdated: 'Last Updated',
        
        sidebar: {
          '/blog/git/': genGitSidebarConfig('git学习')
        }
      }
    }
  },
  plugins: [
    ['@vuepress/back-to-top', true],
    ['@vuepress/pwa', {
      serviceWorker: true,
      updatePopup: true
    }],
    ['@vuepress/medium-zoom', true],
    ['@vuepress/blog'],
    ['@vuepress/google-analytics', {
      ga: 'UA-128189152-1'
    }],
    ['container', {
      type: 'vue',
      before: '<pre class="vue-container"><code>',
      after: '</code></pre>',
    }],
    ['container', {
      type: 'upgrade',
      before: info => `<UpgradePath title="${info}">`,
      after: '</UpgradePath>',
    }],
  ]
})

function genGitSidebarConfig (title) {
  return [
    {
      title,
      collapsable: false,
      children: [
        '',
        'git-advanced-command',
        'git-remote-command',
        'git-branch-command',
        'git-cooperate-develop-command'
      ]
    }
  ]
}

Issue && Bug

提出issue