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

typo-tools

v0.3.0

Published

排版优化工具

Readme

背景

在编写技术文档时,需要注意一些中英文的常见排版问题,比如大小写、标点符号等问题( 具体可参考排版)。

本工程利用程序辅助作者编写文章,拥有优化排版、纠正专有名词拼写、纠正标点符号使用等能力

能力预览

使用

整合语雀

语雀拥有良好的编辑文档体验,本工具默认提供油猴子脚本,供语雀编辑文档使用。

1、 安装油猴子

Chrome 点击这里安装

2、添加脚本

  • 访问油猴子脚本进行安装
  • 或者自行创建新的油猴子脚本,并且复制 dist/index.js 代码到脚本中

其他

  1. 内部基于 pangu.js
  2. 去掉了 pangu.js 中的双引号单引号和括号两侧的空格规则,具体可看 src/pangu/core.js 中 // remove by shiba 部分
  3. 自定义规则
  • 中英文省略号使用错误
  • 自定义省略号如“。。。。”、“......” 的错误
  • 连续使用多个叹号的错误
  • …… 具体可查看 src/index.js 中的 “自定义规则”
  1. 专有名词拼写纠正。 如 jquery(正确的是 jQuery)、golang(正确的是 Golang)、spring boot(正确的是 Spring Boot)等。 持续更新