npm

@scalar/openapi-types

Modern OpenAPI types

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

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

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

推荐接入
安全分
88
最近扫描 2026-07-31
扫描覆盖
67%
30 / 45 文件
高危文件
0
0 条 critical
待复核
0
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 0.9.4
15 文件
15 JS / 0 CSS / 0 WASM
未发现阻断级风险
@scalar/openapi-types/0.9.4/dist/helpers/index.js
https://cdn.ptab.cn/cdn/scalar__openapi-types/0.9.4/dist/helpers/index.js
当前版本 15 个文件,2 个入口候选。未发现可疑外联域名。
生成接入代码
使用路径
01确认版本

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

02复制地址

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

03检测可用

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

查看全部文件

快速接入

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

<script src="https://cdn.ptab.cn/cdn/scalar__openapi-types/0.9.4/dist/helpers/index.js" integrity="sha256-U9gAGGbmlCIf3B9gNHOnWML4ULrHlvi1JpephmJEBGI=" crossorigin="anonymous"></script>
3版本
45文件
0.9.4最新

CDN 地址生成器

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

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

版本与文件

当前版本 0.9.4,展示 15 / 15 个文件。
@scalar/openapi-types/0.9.4/dist/helpers/index.js
JS
691 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/index.js
JS
11 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-array-schema.js
JS
457 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-boolean-json-schema.js
JS
728 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-boolean-schema.js
JS
526 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-dereferenced.js
JS
953 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-integer-schema.js
JS
416 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-multi-type-schema.js
JS
467 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-null-schema.js
JS
457 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-number-schema.js
JS
447 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-numeric-schema.js
JS
632 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-object-schema.js
JS
810 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-string-schema.js
JS
474 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/helpers/is-untyped-schema.js
JS
845 B
SRI ready
未分级
0 请求
@scalar/openapi-types/0.9.4/dist/openapi-types.js
JS
360 B
SRI ready
未分级
0 请求

库评论

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

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