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

@longzai-intelligence-tsdown/test-utils

v0.1.1

Published

通用测试工具集。

Readme

@longzai-intelligence-tsdown/test-utils

Fork 说明:本包是 sxzz/test-utils 的 fork,由 longzai-intelligence 团队自行维护。

  • 上游仓库:https://github.com/sxzz/test-utils
  • Fork 来源 commitbac018d46237073e82b2d2aeee89228601540f0echore(deps): update all non-major dependencies (#81),2026-07-10)
  • License:UNLICENSED

通用测试工具集,提供 rolldown/rollup 构建快照、fixture 批量测试、路径归一化、文件快照断言等能力,供 rolldown-plugin-dts 等包的测试使用。

主要导出

  • rolldownBuild — 用 rolldown 构建并返回输出 chunk 与快照字符串
  • rollupBuild — 用 rollup 构建并返回输出 chunk 与快照字符串
  • testFixtures — 按 glob 批量加载 fixture 文件并生成对应的测试用例
  • outputToSnapshot — 将构建输出 chunk 归一化为可比对快照字符串
  • expectFilesSnapshot — 将目录下文件内容与快照文件比对
  • normalizePath / replacePath — 路径归一化与替换工具
  • removeSpaces — 去除多余空白
  • createTsMacroProgram / createVueProgram — 构造 ts-macro / Vue 语言插件 Program(可选)
  • RollupToStringPlugin / RollupEscapeNullCharacterPlugin — rollup 辅助插件

License

UNLICENSED