npm

@scalar/openapi-parser

modern OpenAPI parser written in TypeScript

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

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

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

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

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

02复制地址

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

03检测可用

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

查看全部文件

快速接入

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

<script src="https://cdn.ptab.cn/cdn/scalar__openapi-parser/0.28.7/dist/configuration/index.js" integrity="sha256-sns8mSVRodMUGT+YGMA3Hy+fEVjee+0LJ+N9YvAomJw=" crossorigin="anonymous"></script>
1版本
69文件
0.28.7最新

CDN 地址生成器

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

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

版本与文件

当前版本 0.28.7,展示 69 / 69 个文件。
@scalar/openapi-parser/0.28.7/dist/configuration/index.js
JS
1022 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/index.js
JS
1.2 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/plugins/fetch-urls/index.js
JS
76 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/plugins/read-files/index.js
JS
45 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/types/index.js
JS
11 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/index.js
JS
441 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/index.js
JS
488 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/join/index.js
JS
34 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/load/index.js
JS
34 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/lib/Validator/Validator.js
JS
5.8 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/plugins/fetch-urls/fetch-urls.js
JS
1.3 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/plugins/read-files/read-files.js
JS
1.6 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/schemas/v2.0/schema.js
JS
49.2 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/schemas/v3.0/schema.js
JS
46.7 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/schemas/v3.1/schema.js
JS
43.0 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/schemas/v3.2/schema.js
JS
49.3 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/helpers.js
JS
6.9 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/utils.js
JS
1.0 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/additional-prop.js
JS
506 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/base.js
JS
741 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/default.js
JS
456 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/enum.js
JS
1.3 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/format.js
JS
2.5 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/pattern.js
JS
505 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/required.js
JS
391 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/betterAjvErrors/validation-errors/unevaluated-prop.js
JS
509 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/dereference.js
JS
926 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/details.js
JS
1.0 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/filter.js
JS
491 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/get-entrypoint.js
JS
161 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/get-list-of-references.js
JS
750 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/get-segments-from-path.js
JS
385 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/is-filesystem.js
JS
249 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/is-json.js
JS
138 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/is-yaml.js
JS
299 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/join/join.js
JS
11.9 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/join/merge-objects.js
JS
1.1 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/load/load.js
JS
4.4 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/make-filesystem.js
JS
708 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/normalize.js
JS
1019 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/actions/details.js
JS
468 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/actions/files.js
JS
249 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/actions/get.js
JS
246 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/actions/toJson.js
JS
421 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/actions/toYaml.js
JS
421 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/commands/dereferenceCommand.js
JS
822 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/commands/filterCommand.js
JS
853 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/commands/loadCommand.js
JS
1.4 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/commands/upgradeCommand.js
JS
1.1 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/commands/validateCommand.js
JS
1.2 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/openapi.js
JS
458 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/openapi.test-d.js
JS
603 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/utils/queueTask.js
JS
168 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/openapi/utils/workThroughQueue.js
JS
2.0 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/resolve-references.js
JS
6.5 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/to-json.js
JS
65 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/to-yaml.js
JS
85 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/transform-errors.js
JS
2.1 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/transform/sanitize.js
JS
993 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/transform/utils/addInfoObject.js
JS
303 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/transform/utils/addLatestOpenApiVersion.js
JS
189 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/transform/utils/addMissingTags.js
JS
1.2 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/transform/utils/normalizeSecuritySchemes.js
JS
1.5 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/transform/utils/rejectSwaggerDocuments.js
JS
220 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/traverse.js
JS
873 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/unescape-json-pointer.js
JS
195 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/upgrade.js
JS
697 B
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/validate-path-parameters.js
JS
3.8 KB
SRI ready
未分级
0 请求
@scalar/openapi-parser/0.28.7/dist/utils/validate.js
JS
2.1 KB
SRI ready
未分级
0 请求

库评论

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

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