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

hongfangze-pack

v1.0.6

Published

comm.pack

Readme

JavaScript(Node.js)混淆打包工具

介绍

目前支持混淆,后期增加:编译V8字节码、打包可执行文件。

支持2种方式使用:

1、全局安装后,使用命令行进行混淆

npm install hongfangze-pack -g

# 将当前目录下的所有js文件进行混淆操作
$ hfz-pack

2、项目种引用后,使用函数进行混淆对应的文件

npm install hongfangze-pack

// import { obfuscator } from 'hongfangze-pack';

/**
 * 打包混淆js代码文件(用于版权源码的保护)
 * - 注意:部分eval代码可能会出现异常,请尽量避免使用该函数,打包后自行测试。
 * @param {string} src 需要混淆的文件目录
 * - 会自动递归寻找该目录下的所有子目录及子目录下的所有js文件
 * - 非js等无法编译混淆的文件不会被清除,会同步复制到目标目录中
 * @param {string} [dest] 混淆后的目标目录
 * - 如果不传,将覆盖src目录
 * - 如果不希望覆盖原始目录,请自行指定一个目录地址
 * - 如果希望覆盖原始目录,请一定不要传参,也不能传和src一样的值
 */
export declare const obfuscator: (src: string, dest?: string) => Promise<void>;

版本迭代记录

2025-05-07 v1.0.6

  • 升级filestream组件。

2025-04-11 v1.0.4

  • 被移除后更名发布。

2025-02-24 v0.1.1

  • 混淆优化
  • 修复已知Bug

2024-09-30 v0.0.1

  • 实现混淆、编译