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-remote-machine/core

v0.0.1

Published

Longzai Intelligence 核心包

Readme

@longzai-intelligence-remote-machine/core

开发工具类项目的核心包模板,承载项目核心类型定义与配置校验能力,为 CLI 与 Dashboard 应用提供共享的类型与校验函数。

定位为 dev-tool 项目模板 monorepo 的核心 packages 包,归属于 packages/* workspace,是 apps/cli 与 apps/dashboard 共同依赖的底层包。上游被同项目内的 cli 与 dashboard 通过 workspace:* 引用,自身依赖 zod 提供 Schema 校验能力,不反向依赖任何应用层包。

职能上,该包通过 src/index.ts 对外导出 CoreConfig 类型与 validateConfig 校验函数:CoreConfig 定义项目核心配置的数据结构,validateConfig 基于 zod 对配置进行运行时校验。构建产物经 tsgo --build 与 resolve-aliases 处理别名解析,再由 tsdown 产出生产构建,导出路径通过 exports 字段限定为 ./dist/index.js 与对应的类型声明。

实现情况为脚手架模板初始状态,package.json 的脚本(build、build:prod、typecheck、lint、test、clean 等)与 exports 声明均已就绪,zod 依赖已声明。src/index.ts 已定义导出契约,但其引用的 ./types 与 ./validate 模块文件尚未在模板中提供,需在使用模板后由开发者按导出契约补齐具体实现。