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-npm-registry/core

v0.0.6

Published

Longzai Intelligence 本地 npm registry 存储引擎与数据契约:npm 协议载荷 / publish 校验落盘 / dist-tags / unpublish / 单用户鉴权(零 HTTP、零上游感知)

Readme

@longzai-intelligence-npm-registry/core

@longzai-intelligence-npm-registry/core 是 Longzai Intelligence Npm Registry 的存储引擎包,为服务层提供本地包存储、npm 协议数据契约与单用户鉴权能力。

简介

治理本地 registry 的数据面:npm 协议载荷、本地包 DTO 与鉴权持久化的契约定义于一处,约束存储引擎零 HTTP、零上游感知——协议服务与上游直通归应用层;版本一经发布不可变,凭据落盘只存哈希,写入一律原子落盘。

能力

  • 包的发布、查询、废弃与 dist-tags 维护(同版本重复发布拒绝)
  • npm 协议契约(packument / publish / dist-tags / couchdb 用户文档形状)
  • 本地包 DTO 与存储布局契约(转义命名、原子写、语义化版本比较)
  • 单本地用户鉴权 store(口令盐渍哈希、token 落盘仅存哈希)
  • 领域错误层(包不存在、版本冲突等,HTTP 状态映射归应用层)