# @idlebox/typescript-surface-analyzer

> Api and CLI tool for collect export information in typescript project

Latest version **0.0.46** (published 2026-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @idlebox/typescript-surface-analyzer
pnpm add @idlebox/typescript-surface-analyzer
yarn add @idlebox/typescript-surface-analyzer
bun add @idlebox/typescript-surface-analyzer
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.46 |
| Published | 2026-08-08 |
| First published | 2022-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 89.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 12 |
| Author | GongT |
| Maintainers | gongt |

## Links

- npm: https://www.npmjs.com/package/@idlebox/typescript-surface-analyzer
- Repository: https://github.com/GongT/baobao
- Homepage: https://github.com/GongT/baobao#readme
- Issues: https://github.com/GongT/baobao/issues
- npm.io page: https://npm.io/package/@idlebox/typescript-surface-analyzer

## Dependencies (4)

- [minimatch](https://npm.io/package/minimatch.md) ^10.2.6
- [typescript](https://npm.io/package/typescript.md) <7.0.0
- [@idlebox/logger](https://npm.io/package/@idlebox/logger.md) ^1.0.2
- [@idlebox/tsconfig-loader](https://npm.io/package/@idlebox/tsconfig-loader.md) ^1.0.32

## Recent versions

- 0.0.46 (latest) — 2026-08-08
- 0.0.45 — 2026-07-17
- 0.0.44 — 2026-04-02
- 0.0.43 — 2026-03-28
- 0.0.42 — 2026-03-20
- 0.0.41 — 2026-03-20
- 0.0.40 — 2026-03-20
- 0.0.39 — 2026-03-19
- 0.0.38 — 2026-03-19
- 0.0.37 — 2026-03-19
- 0.0.36 — 2026-02-03
- 0.0.35 — 2026-02-03
- 0.0.34 — 2026-01-17
- 0.0.33 — 2025-09-25
- 0.0.32 — 2025-08-30
- … 31 more at https://npm.io/package/@idlebox/typescript-surface-analyzer/versions

## README

# BAOBAO

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FGongT%2Fbaobao.svg?type=large&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2FGongT%2Fbaobao?ref=badge_large&issueType=license)

TypeScript代码和工具库

## @build-script - 构建生成相关工具

* [autoindex](./@build-script/autoindex) 自动创建导出索引文件，将所有文件汇聚到一个文件中
* [codegen](@build-script/codegen) 用ts编写简单的代码生成器
* [package-tools](@build-script/package-tools) npm包管理与发布辅助工具集合
* [rushstack-config-loader](@build-script/rushstack-config-loader) 用于加载[riggable config](https://www.npmjs.com/package/@rushstack/rig-package)的库
* [monorepo-lib](@build-script/monorepo-lib) monorepo操作工具
* [vite-plugin-chunk-tree](@build-script/vite-plugin-chunk-tree) vite（和rollup）根据依赖**树**生成chunks

## @idlebox - 函数库

基础函数库

* [common](@idlebox/common) 通用函数库
* [node](@idlebox/node) nodejs函数库
* [browser](@idlebox/browser) 浏览器函数库
* [deepmerge](@idlebox/deepmerge) 完全自定义的深拷贝
* [dependency-graph](@idlebox/dependency-graph) 基于[dependency-graph](https://www.npmjs.com/package/dependency-graph)的执行依赖图
* [dependency-injection](@idlebox/dependency-injection) 简单的依赖注入器，纯手工 无反射、装饰器，支持异步初始化

----
CLI程序辅助库

* [args](@idlebox/args) 命令行参数解析
* [logger](@idlebox/logger) 简单日志
* [terminal-control](@idlebox/terminal-control) 终端控制（清屏、光标控制、进度条等）
* [chokidar](@idlebox/chokidar) 文件监控
* [cli](@idlebox/cli) 命令行程序基础设施（`args`+`logger`+`registerNodejsExitHandler (from @idlebox/node)`）
* [cli-help-builder](@idlebox/cli-help-builder) 命令行程序帮助信息构建
* [cli-static-generator](@idlebox/cli-static-generator) 静态子命令定义生成器
* [unshare](@idlebox/unshare) 容器化运行器

----
文件系统和代码工具

* [ensure-symlink](@idlebox/ensure-symlink) 确保符号链接存在且内容正确
* [native-executer](@idlebox/native-executer) TypeScript文件执行器
* [ignore-edit](@idlebox/ignore-edit) 编辑`.gitignore`、`.npmignore`等忽略文件
* [json-edit](@idlebox/json-edit) 编辑`jsonc`文件
* [json-extends-loader](@idlebox/json-extends-loader) 加载带有`extends`的`jsonc`文件（比如tsconfig）
* [node-error-codes](@idlebox/node-error-codes) 从nodejs api文档中自动提取的错误代码
* [typescript-surface-analyzer](@idlebox/typescript-surface-analyzer) TypeScript界面分析工具
* [named-pipe](@idlebox/named-pipe) 命名管道工具

----
网络和数据处理
* [section-buffer](@idlebox/section-buffer) 多线程下载缓冲区


----
基于mobx的状态管理

* TODO

## @mpis - My Project Is Simple

构建事件协议

* [shared](@mpis/shared) 标准协议
* [client](@mpis/client) 协议客户端库、标准输出转换程序
* [run](@mpis/run) 单项目build、watch工具
* [monorepo](@mpis/monorepo) monorepo build、watch工具
* [server](@mpis/server) 协议服务器库（run和monorepo基于此）

----
协议实现

* [esbuild](@mpis/esbuild) esbuild
* [typescript](@mpis/typescript) tsc

----
其他工具

* [publisher](@mpis/publisher) npm包发布工具

## 独立包

* [cjke](standalone/cjke) 计算汉字和emoji的宽度
* [unpm](standalone/unipm) 自动选择包管理器安装依赖（pnpm、yarn、npm、rush）

---
_Source: https://npm.io/package/@idlebox/typescript-surface-analyzer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
