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

hiton

v0.0.2

Published

A markdown parser

Downloads

2

Readme

HitOn是我之前和朋友开玩笑地说自己也能发明一个轻量级标记语言。
之后在无聊的时候,就想着是不是真的能去实现一个标记语言来玩玩呢?

于是,就有了现在的HitOn

HitOn是一个 markdown 的解析器。
支持一些常见的 md 语法,但单因为个人喜好问题,也有一些不兼容的地方。

不过HitOn自身也不过是我自己写的一个玩具, 也因为这就是我图个乐子写的,所以什么时候支持更多功能,也不知道, 什么时候可以解决 Bug ,我不保证。

不爽你顺着网线过来咬我啊。

功能如下

1. 基本功能

斜体、粗体、删除线和其他 md 解析器一致。

但只支持 **的加粗,_ 的斜体设置,不支持 * 的斜体和 __ 的加粗。

不详细说明。

2. 链接

支持一下形式的链接。

[](https://www.baidu.com)  
[百度](https://www.baidu.com)  
[](https://www.baidu.com "百度一下,你就知道")  
[百度](https://www.baidu.com "百度一下,你就知道")

输出

<a href="www.baidu.com">www.baidu.com</a>
<a href="www.baidu.com">百度</a>
<a title="百度一下,你就知道" href="https://www.baidu.com">https://www.baidu.com</a>
<a title="百度一下,你就知道" href="https://www.baidu.com">百度</a>

不支持以下形式的链接

<https://www.baidu.com>

3. 邮件

支持邮件。

<[email protected]>

输出

<a href="mailto:[email protected]">[email protected]</a>

4. 图片

![微信公众号](https://static.waygc.net/imgs/qrcode/wechat.jpg)

图片可以输出显示图片名称,输出

<div>
  <img src="${https://static.waygc.net/imgs/qrcode/wechat.jpg}" />
  <div>图:微信公众号</div>
</div>

也可以关闭该选项。

5. 行内代码

`var a = "10";`。

6. 列表

1. aaa
  1. aaaa
  2. bbbb
2. bbb
3. ccc
* aaa
* bbb
  * aaaa
  * bbbb
* ccc
* ddd

7. 引用

> 这里是引用外部的文字
>
> > 还可以进行内部再次引用
>
> 引用结束

8. 表格

| 字段一 | 字段二 | 字段三 |
| --- | --- | --- |
| 1-1 | 1-2 | 1-3 |
| 2-1 | 2-2 | 2-3 |
| 3-1 | 3-2 | 3-3 |

注意:不支持如在一些方言中,通过第二行设置 :--- 的方式来进行左右对齐。

9. 代码

代码依赖插件实现。

var a = 10;
var b = 10;
var c = a + b;
console.log(c);