npm

ink

React for CLI

版本 3已同步 3文件 183 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

建议复核
安全分
27
最近扫描 2026-06-19
扫描覆盖
100%
183 / 183 文件
高危文件
0
0 条 critical
待复核
9
外联、混淆、敏感行为
推荐入口
暂无浏览器入口
SRI 待确认
SRI 缺失 0
当前版本 7.1.0
61 文件
61 JS / 0 CSS / 0 WASM
9 review files
可在下方文件列表中查看原始构建产物
当前版本 61 个文件,1 个入口候选。未发现可疑外联域名。
使用路径
01确认版本

固定到 7.1.0,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

暂无可直接接入的浏览器入口文件,可在文件列表中查看原始构建产物。
3版本
183文件
7.1.0最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
1.5 KB
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/ink/7.1.0/build/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/ink/7.1.0/build/index.js" integrity="sha256-90sR4qZtXChzopZG3BgEhLRdYaEH+wmr/aEBlIVx9mQ=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/ink/7.1.0/build/index.js";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 7.1.0,展示 61 / 61 个文件。
ink/7.1.0/build/index.js
JS
1.5 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/ansi-tokenizer.js
JS
12.0 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/colorize.js
JS
1.5 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/components/AccessibilityContext.js
JS
177 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/AnimationContext.js
JS
355 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/App.js
JS
22.8 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/components/AppContext.js
JS
810 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/BackgroundContext.js
JS
143 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/Box.js
JS
1.5 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/components/CursorContext.js
JS
299 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/ErrorBoundary.js
JS
752 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/ErrorOverview.js
JS
4.3 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/components/FocusContext.js
JS
475 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/Newline.js
JS
275 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/Spacer.js
JS
345 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/Static.js
JS
1.4 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/components/StderrContext.js
JS
425 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/StdinContext.js
JS
746 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/StdoutContext.js
JS
452 B
SRI ready
未分级
0 请求
ink/7.1.0/build/components/Text.js
JS
2.1 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/components/Transform.js
JS
1.0 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/cursor-helpers.js
JS
2.4 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/devtools-window-polyfill.js
JS
2.2 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/devtools.js
JS
1.2 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/dom.js
JS
4.7 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/get-max-width.js
JS
398 B
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-animation.js
JS
3.9 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-app.js
JS
292 B
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-box-metrics.js
JS
2.9 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-cursor.js
JS
1.3 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-focus-manager.js
JS
702 B
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-focus.js
JS
1.6 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-input.js
JS
4.8 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-is-screen-reader-enabled.js
JS
506 B
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-paste.js
JS
2.3 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-stderr.js
JS
263 B
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-stdin.js
JS
347 B
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-stdout.js
JS
290 B
SRI ready
未分级
0 请求
ink/7.1.0/build/hooks/use-window-size.js
JS
737 B
SRI ready
未分级
0 请求
ink/7.1.0/build/ink.js
JS
38.7 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/input-parser.js
JS
6.6 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/instances.js
JS
394 B
SRI ready
未分级
0 请求
ink/7.1.0/build/kitty-keyboard.js
JS
912 B
SRI ready
未分级
0 请求
ink/7.1.0/build/log-update.js
JS
10.6 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/measure-element.js
JS
844 B
SRI ready
未分级
0 请求
ink/7.1.0/build/measure-text.js
JS
565 B
SRI ready
未分级
0 请求
ink/7.1.0/build/output.js
JS
8.1 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/parse-keypress.js
JS
13.1 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/reconciler.js
JS
11.0 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/render-background.js
JS
1.3 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/render-border.js
JS
4.1 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/render-node-to-output.js
JS
6.1 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/render-to-string.js
JS
5.8 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/render.js
JS
2.0 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/renderer.js
JS
2.0 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/sanitize-ansi.js
JS
1017 B
SRI ready
未分级
0 请求
ink/7.1.0/build/squash-text-nodes.js
JS
1.5 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/styles.js
JS
10.3 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/utils.js
JS
708 B
SRI ready
未分级
0 请求
ink/7.1.0/build/wrap-text.js
JS
1.1 KB
SRI ready
未分级
0 请求
ink/7.1.0/build/write-synchronized.js
JS
300 B
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。