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 🙏

© 2025 – Pkg Stats / Ryan Hefner

theme-lx

v0.4.4

Published

A simle & clear & elegant hexo theme

Downloads

229

Readme

Hexo-Theme-Lx

Github Release Github License

Star me if you like.

Languages: English | 中文

Live Demo:

Stable:https://lx.js.org Dev: https://lx.blleng.cn

Any problem: issue

The latest release

V0.4.4

  • Several bugs fixed.

Usage

Git clone

At theme blog root dir:

$ git clone https://github.com/blleng/hexo-theme-lx themes/lx
clone into 'themes/lx'...

Apply

Edit _config.yml:

theme: lx

Features

The description here is not complete. You should read the comment in themes/lx/_config.yml

Analytics

lx use Baidu and Google as analytics.

Usage:

Edit themes/lx/_config.yml:

google_analytics: ... ##Google analytics ID
baidu_analytics: ... ##Baidu analytics ID

Local search

  1. Install the hexo-generator-searchdb:

At the blog root dir:

$ npm install hexo-generator-searchdb -s
  1. Edit themes/lx/_config.yml:
local_search:
  enable: true

More features in themes/lx/_config.yml

Comment

lx use valine as comment system. The official site: https://valine.js.org

Usage:

Edit themes/lx/_config.yml:

comment:
  enable: true
  appid: ... #leancloud appid
  appkey: ... #leancloud appkey
  notify: false
  verify: false
  placeholder: Say something #placeholder
  avatar: identicon #the guest avatar
  guest_info: nick,mail,link #optional choice
  pageSize: 10
  language: en

In the page front-matter: comment: true

---
date: ...
title: ...
categories: ...
tags: ...
comment: true //use comment in this page
mathjax: ...
---

You should create an application in Leancloud to get appid and appkey.

Social links

Edit the themes/_config.yml

social:
  enable: true
  links:
    Github:  //the name of the link
      icon: gihub //font-awesmome icon
      link: ... //link

Mathjax

Support Mathematical formulas and chemical equations

Usage:

Editthemes/lx/_config.yml:

mathjax:
  enable: true
  cdn: //cdn.bootcss.com/mathjax/2.7.5/latest.js?config=TeX-MML-AM_SVG

In the page front-matter: mathjax: true

---
date: ...
title: ...
categories: ...
tags: ...
comment: ...
mathjax: true //use Mathjax in this page
---

Font

font:
  enable: true
  host: //fonts.googleapis.com
  codes: ##the font of codes
    enable: true
    family: Fira Code
  else:
    enable: false
    family: 

Custom css

custom_css: false
# If true, Lx will load 'source/css/custom.styl'.

Style

Excerpt

the content before <!--more--> will be showed at the home page.

Note tag

options: defaultinfoprimarysuccesswarningdanger

eg:

{%note default%}
### title
content
{%endnote%}

Label tag

options: defaultinfoprimarysuccesswarningdanger

eg:

{%label default@content%}

Button tag

buttion:

{%btn url,content,hand-o-right fa-fw,title%}

options: url content hand-o-right fa-fw fa-fw title

center-quote tag

eg:

{%cq%}
人类的悲欢并不相通,我只觉得他们吵闹。<br><strong>——鲁迅</strong>
{%endcq%}

video tag

eg:

{% video url %}

options: url