npm

json-schema-to-ts

Infer typescript types from your JSON schemas!

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

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

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

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

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

02复制地址

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

03检测可用

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

查看全部文件

快速接入

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

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

CDN 地址生成器

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

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

版本与文件

当前版本 3.1.1,展示 132 / 132 个文件。
json-schema-to-ts/3.1.1/lib/cjs/definitions/index.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/index.js
JS
582 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/index.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/references/index.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/index.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/utils/index.js
JS
643 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/utils/type-guards/index.js
JS
514 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/definitions/index.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/index.js
JS
398 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/index.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/references/index.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/index.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/utils/index.js
JS
153 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/utils/type-guards/index.js
JS
143 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/definitions/index.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/index.js
JS
87 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/index.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/references/index.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/type-utils/index.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/utils/index.js
JS
121 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/utils/type-guards/index.js
JS
110 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/definitions/deserializationPattern.js
JS
130 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/definitions/extendedJsonSchema.js
JS
126 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/definitions/fromSchemaOptions.js
JS
125 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/definitions/jsonSchema.js
JS
461 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-options.js
JS
121 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/allOf.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/anyOf.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/array.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/const.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/deserialize.js
JS
119 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/enum.js
JS
112 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/ifThenElse.js
JS
118 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/multipleTypes.js
JS
121 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/not.js
JS
111 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/nullable.js
JS
116 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/object.js
JS
114 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/oneOf.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/references/external.js
JS
116 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/references/internal.js
JS
116 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/references/utils.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/singleType.js
JS
118 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/parse-schema/utils.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/and.js
JS
111 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/extends.js
JS
115 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/get.js
JS
111 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/if.js
JS
110 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/join.js
JS
112 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/key.js
JS
111 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/narrow.js
JS
114 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/not.js
JS
111 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/pop.js
JS
111 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/split.js
JS
113 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/tail.js
JS
112 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/type-utils/writable.js
JS
116 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/utils/asConst.js
JS
584 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/utils/type-guards/compiler.js
JS
1.4 KB
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/cjs/utils/type-guards/validator.js
JS
1.2 KB
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/definitions/deserializationPattern.js
JS
61 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/definitions/extendedJsonSchema.js
JS
57 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/definitions/fromSchemaOptions.js
JS
56 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/definitions/jsonSchema.js
JS
322 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-options.js
JS
52 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/allOf.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/anyOf.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/array.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/const.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/deserialize.js
JS
50 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/enum.js
JS
43 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/ifThenElse.js
JS
49 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/multipleTypes.js
JS
52 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/not.js
JS
42 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/nullable.js
JS
47 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/object.js
JS
45 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/oneOf.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/references/external.js
JS
47 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/references/internal.js
JS
47 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/references/utils.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/singleType.js
JS
49 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/parse-schema/utils.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/and.js
JS
42 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/extends.js
JS
46 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/get.js
JS
42 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/if.js
JS
41 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/join.js
JS
43 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/key.js
JS
42 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/narrow.js
JS
45 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/not.js
JS
42 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/pop.js
JS
42 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/split.js
JS
44 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/tail.js
JS
43 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/type-utils/writable.js
JS
47 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/utils/asConst.js
JS
456 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/utils/type-guards/compiler.js
JS
1.3 KB
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/esm/utils/type-guards/validator.js
JS
1014 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/definitions/deserializationPattern.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/definitions/extendedJsonSchema.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/definitions/fromSchemaOptions.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/definitions/jsonSchema.js
JS
50 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-options.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/allOf.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/anyOf.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/array.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/const.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/deserialize.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/enum.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/ifThenElse.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/multipleTypes.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/not.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/nullable.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/object.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/oneOf.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/references/external.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/references/internal.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/references/utils.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/singleType.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/parse-schema/utils.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/type-utils/and.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/type-utils/extends.js
JS
11 B
SRI ready
未分级
0 请求
json-schema-to-ts/3.1.1/lib/types/type-utils/get.js
JS
11 B
SRI ready
未分级
0 请求

库评论

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

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