npm

@bufbuild/protobuf

A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.

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

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

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

建议复核
安全分
23
最近扫描 2026-07-22
扫描覆盖
68%
318 / 468 文件
高危文件
0
0 条 critical
待复核
8
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 2.13.0
166 文件
166 JS / 0 CSS / 0 WASM
8 review files
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/index.js
https://cdn.ptab.cn/cdn/bufbuild__protobuf/2.13.0/dist/commonjs/codegenv1/index.js
当前版本 166 个文件,14 个入口候选。未发现可疑外联域名。
生成接入代码
使用路径
01确认版本

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

02复制地址

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

03检测可用

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

查看全部文件

快速接入

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

<script src="https://cdn.ptab.cn/cdn/bufbuild__protobuf/2.13.0/dist/commonjs/codegenv1/index.js" integrity="sha256-FZ/APA/cQXK0gx9DWy27LqZSjXaK3Rai8CTlFkKFbKY=" crossorigin="anonymous"></script>
3版本
468文件
2.13.0最新

CDN 地址生成器

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

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

版本与文件

当前版本 2.13.0,展示 166 / 166 个文件。
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/index.js
JS
1.8 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/index.js
JS
1.8 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/index.js
JS
3.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/index.js
JS
2.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/txtpb/index.js
JS
1.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wire/index.js
JS
1.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/index.js
JS
2.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/index.js
JS
926 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/index.js
JS
893 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/index.js
JS
1.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/reflect/index.js
JS
894 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/txtpb/index.js
JS
702 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/wire/index.js
JS
788 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/wkt/index.js
JS
1.5 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/clone.js
JS
2.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/boot.js
JS
861 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/enum.js
JS
1.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/extension.js
JS
1.0 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/file.js
JS
873 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/message.js
JS
905 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/service.js
JS
913 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/symbols.js
JS
2.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv1/types.js
JS
682 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/boot.js
JS
4.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/embed.js
JS
9.7 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/enum.js
JS
2.0 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/extension.js
JS
1.0 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/file.js
JS
1.8 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/message.js
JS
905 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/restore-json-names.js
JS
1.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/scalar.js
JS
2.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/service.js
JS
913 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/symbols.js
JS
4.9 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/codegenv2/types.js
JS
682 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/create.js
JS
9.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/descriptors.js
JS
2.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/equals.js
JS
7.5 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/extensions.js
JS
6.8 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/fields.js
JS
1.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/from-binary.js
JS
9.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/from-json.js
JS
27.9 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/is-message.js
JS
1.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/json-value.js
JS
682 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/merge.js
JS
2.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/proto-int64.js
JS
4.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/error.js
JS
1.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/guard.js
JS
3.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/names.js
JS
3.5 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/nested-types.js
JS
3.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/path.js
JS
12.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/reflect-check.js
JS
10.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/reflect-types.js
JS
726 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/reflect.js
JS
17.9 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/scalar.js
JS
5.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/reflect/unsafe.js
JS
4.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/registry.js
JS
32.8 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/to-binary.js
JS
7.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/to-json.js
JS
15.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/txtpb/from-text.js
JS
24.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/txtpb/is-group-like.js
JS
2.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/txtpb/reader.js
JS
17.0 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/txtpb/to-text.js
JS
13.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/txtpb/writer.js
JS
7.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/types.js
JS
682 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/unknown-enum.js
JS
1005 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wire/base64-encoding.js
JS
5.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wire/binary-encoding.js
JS
16.7 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wire/size-delimited.js
JS
8.5 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wire/text-encoding.js
JS
2.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wire/text-format.js
JS
7.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wire/varint.js
JS
11.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/any.js
JS
2.5 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/duration.js
JS
1.7 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/any_pb.js
JS
1.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/api_pb.js
JS
2.8 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/compiler/plugin_pb.js
JS
4.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/cpp_features_pb.js
JS
3.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/descriptor_pb.js
JS
65.7 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/duration_pb.js
JS
1.5 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/empty_pb.js
JS
1.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/field_mask_pb.js
JS
1.5 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/go_features_pb.js
JS
7.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/java_features_pb.js
JS
6.7 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/source_context_pb.js
JS
1.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/struct_pb.js
JS
3.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/timestamp_pb.js
JS
1.5 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/type_pb.js
JS
9.9 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/gen/google/protobuf/wrappers_pb.js
JS
3.7 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/timestamp.js
JS
2.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/commonjs/wkt/wrappers.js
JS
2.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/clone.js
JS
2.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/boot.js
JS
650 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/enum.js
JS
979 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/extension.js
JS
946 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/file.js
JS
654 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/message.js
JS
800 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/service.js
JS
808 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/symbols.js
JS
2.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv1/types.js
JS
616 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/boot.js
JS
4.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/embed.js
JS
8.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/enum.js
JS
1.8 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/extension.js
JS
946 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/file.js
JS
1.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/message.js
JS
800 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/restore-json-names.js
JS
988 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/scalar.js
JS
2.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/service.js
JS
808 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/symbols.js
JS
4.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/codegenv2/types.js
JS
616 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/create.js
JS
8.9 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/descriptors.js
JS
2.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/equals.js
JS
7.2 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/extensions.js
JS
6.3 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/fields.js
JS
1.4 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/from-binary.js
JS
8.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/from-json.js
JS
26.6 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/is-message.js
JS
1.1 KB
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/json-value.js
JS
616 B
SRI ready
未分级
0 请求
@bufbuild/protobuf/2.13.0/dist/esm/merge.js
JS
2.4 KB
SRI ready
未分级
0 请求

库评论

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

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