npm

joi

Object schema validation

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

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

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

建议复核
安全分
55
最近扫描 2026-06-19
扫描覆盖
51%
33 / 65 文件
高危文件
0
0 条 critical
待复核
4
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 18.2.3
33 文件
33 JS / 0 CSS / 0 WASM
4 review files
joi/18.2.3/dist/joi-browser.min.js
https://cdn.ptab.cn/cdn/joi/18.2.3/dist/joi-browser.min.js
当前版本 33 个文件,1 个入口候选。未发现可疑外联域名。
生成接入代码
使用路径
01确认版本

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

02复制地址

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

03检测可用

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

查看全部文件

快速接入

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

<script src="https://cdn.ptab.cn/cdn/joi/18.2.3/dist/joi-browser.min.js" integrity="sha256-5TgkLbGRz6VJX9epLr9j24a6QoY5HGDk/qGzGXFJU8Y=" crossorigin="anonymous"></script>
2版本
65文件
18.2.3最新

CDN 地址生成器

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

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

版本与文件

当前版本 18.2.3,展示 33 / 33 个文件。
joi/18.2.3/lib/index.js
JS
6.8 KB
SRI ready
未分级
0 请求
joi/18.2.3/dist/joi-browser.min.js
JS
173.8 KB
SRI ready
未分级
0 请求
joi/18.2.3/dist/joi-browser.min.mjs
JS
200.5 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/annotate.js
JS
5.1 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/base.js
JS
36.7 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/cache.js
JS
2.5 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/common.js
JS
5.2 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/compile.js
JS
7.9 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/errors.js
JS
5.9 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/extend.js
JS
7.5 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/manifest.js
JS
11.6 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/messages.js
JS
4.2 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/modify.js
JS
6.7 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/ref.js
JS
9.9 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/schemas.js
JS
8.0 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/state.js
JS
3.4 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/template.js
JS
11.0 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/trace.js
JS
8.0 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/alternatives.js
JS
11.8 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/any.js
JS
4.8 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/array.js
JS
30.0 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/binary.js
JS
3.0 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/boolean.js
JS
3.3 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/date.js
JS
6.5 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/function.js
JS
2.2 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/keys.js
JS
35.4 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/link.js
JS
6.0 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/number.js
JS
11.4 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/object.js
JS
341 B
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/string.js
JS
31.7 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/types/symbol.js
JS
2.5 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/validator.js
JS
20.6 KB
SRI ready
未分级
0 请求
joi/18.2.3/lib/values.js
JS
5.7 KB
SRI ready
未分级
0 请求

库评论

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

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