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

@aipt/idp-setup

v0.1.65

Published

IDP Sources 本地工程环境与外部 Config Dir 初始化 CLI。

Readme

@aipt/idp-setup

IDP 工程体系准入工具:解决新机器环境初始化与新项目接入。

路径请使用 $HOME 或绝对路径;不要把全角波浪号 ~ 当作 Shell 的半角 ~。


核心使用场景

1. 新电脑机器准入(每台电脑执行 1 次)

解决全局 pnpm 缓存配置、环境变量持久化与 CLI 工具链安装问题:

# 初始化全局 pnpm Store、受管配置目录,并安装全局 CLI 套件
corepack pnpm dlx @aipt/idp-setup init --root <Sources根>

# 当前打开的终端生效环境变量(后续新开终端由 Shell 自动加载)
source <Sources根>/config/idp/generated/sources.env

2. 新项目准入(进入新项目时执行 1 次)

解决项目纳管、工程规范接入、应用外部配置目录初始化与开发就绪检查:

# 进入项目目录直接运行(自动识别当前目录)
cd <项目>
idp-setup bootstrap

# 或显式指定项目路径
idp-setup bootstrap --project <项目>

3. 工具链升级

解决全局 CLI 套件版本滞后问题,一键升级到最新发布版本:

idp-setup update --root <Sources根>

4. 机器与环境诊断

排查机器配置目录是否健全、全局工具入口是否正常:

idp-setup doctor --root <Sources根>

常用命令速查

| 命令 | 解决的问题 / 使用场景 | |---|---| | idp-setup init --root <Sources根> | 机器首次准入,固化环境与工具链 | | idp-setup bootstrap [--project <项目>] | 项目准入,初始化配置与开发就绪检查 | | idp-setup update [--root <Sources根>] | 升级全局 CLI(dyyto、idp、idpctl、idp-setup)到最新版本 | | idp-setup doctor [--root <Sources根>] | 诊断机器配置根、Store 与工具链健康状态 | | idp-setup print-env [--root <Sources根>] | 打印当前受管环境变量配置内容 |