{"_id":"@bufbuild/protobuf@2.17.0","bugs":{"url":"https://github.com/bufbuild/protobuf-es/issues"},"dist":{"shasum":"231e87fc12d859bf95166890e9cebd64ac362810","tarball":"http://registry-npm.ywwl.com/@bufbuild/protobuf/download/@bufbuild/protobuf-2.17.0.tgz","fileCount":363,"integrity":"sha512-hcPkSz6D7MiTU/5VBBhK+kxaYDoOdQ6yJRFJ3kS8Nydp+VZXfg1vrpABKPNod8bXMufsVCmiUJVIKFzCzta4uw==","signatures":[{"sig":"MEUCIQCJtcMpitZ7+9QWRVH9Sw8vBTO+amIRiZjiqhG9YDoQcwIgWlBnG012XafvTkjr0Dl40hVr/fcTA34qqHC2ZDP90mY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDF6WbAQNsuCqF2Je2nDETG0cwJp+fp0ihsXD4ditooPwIgD/2Tbq2ji0JqUKDm95czgrGaHBHc/Jamf+rQPKrE2ZE="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bufbuild%2fprotobuf@2.17.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1994015,"size":254167,"noattachment":false,"key":"/@bufbuild/protobuf/-/@bufbuild/protobuf-2.17.0.tgz"},"main":"./dist/cjs/index.js","name":"@bufbuild/protobuf","type":"module","types":"./dist/cjs/index.d.ts","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./wkt":{"import":"./dist/esm/wkt/index.js","require":"./dist/cjs/wkt/index.js"},"./wire":{"import":"./dist/esm/wire/index.js","require":"./dist/cjs/wire/index.js"},"./txtpb":{"import":"./dist/esm/txtpb/index.js","require":"./dist/cjs/txtpb/index.js"},"./reflect":{"import":"./dist/esm/reflect/index.js","require":"./dist/cjs/reflect/index.js"},"./codegenv1":{"import":"./dist/esm/codegenv1/index.js","require":"./dist/cjs/codegenv1/index.js"},"./codegenv2":{"import":"./dist/esm/codegenv2/index.js","require":"./dist/cjs/codegenv2/index.js"},"./wkt/google/protobuf/any_pb.js":{"import":"./dist/esm/wkt/google/protobuf/any_pb.js","require":"./dist/cjs/wkt/google/protobuf/any_pb.js"},"./wkt/google/protobuf/api_pb.js":{"import":"./dist/esm/wkt/google/protobuf/api_pb.js","require":"./dist/cjs/wkt/google/protobuf/api_pb.js"},"./wkt/google/protobuf/type_pb.js":{"import":"./dist/esm/wkt/google/protobuf/type_pb.js","require":"./dist/cjs/wkt/google/protobuf/type_pb.js"},"./wkt/google/protobuf/empty_pb.js":{"import":"./dist/esm/wkt/google/protobuf/empty_pb.js","require":"./dist/cjs/wkt/google/protobuf/empty_pb.js"},"./wkt/google/protobuf/struct_pb.js":{"import":"./dist/esm/wkt/google/protobuf/struct_pb.js","require":"./dist/cjs/wkt/google/protobuf/struct_pb.js"},"./wkt/google/protobuf/duration_pb.js":{"import":"./dist/esm/wkt/google/protobuf/duration_pb.js","require":"./dist/cjs/wkt/google/protobuf/duration_pb.js"},"./wkt/google/protobuf/wrappers_pb.js":{"import":"./dist/esm/wkt/google/protobuf/wrappers_pb.js","require":"./dist/cjs/wkt/google/protobuf/wrappers_pb.js"},"./wkt/google/protobuf/timestamp_pb.js":{"import":"./dist/esm/wkt/google/protobuf/timestamp_pb.js","require":"./dist/cjs/wkt/google/protobuf/timestamp_pb.js"},"./wkt/google/protobuf/descriptor_pb.js":{"import":"./dist/esm/wkt/google/protobuf/descriptor_pb.js","require":"./dist/cjs/wkt/google/protobuf/descriptor_pb.js"},"./wkt/google/protobuf/field_mask_pb.js":{"import":"./dist/esm/wkt/google/protobuf/field_mask_pb.js","require":"./dist/cjs/wkt/google/protobuf/field_mask_pb.js"},"./wkt/google/protobuf/cpp_options_pb.js":{"import":"./dist/esm/wkt/google/protobuf/cpp_options_pb.js","require":"./dist/cjs/wkt/google/protobuf/cpp_options_pb.js"},"./wkt/google/protobuf/go_features_pb.js":{"import":"./dist/esm/wkt/google/protobuf/go_features_pb.js","require":"./dist/cjs/wkt/google/protobuf/go_features_pb.js"},"./wkt/google/protobuf/cpp_features_pb.js":{"import":"./dist/esm/wkt/google/protobuf/cpp_features_pb.js","require":"./dist/cjs/wkt/google/protobuf/cpp_features_pb.js"},"./wkt/google/protobuf/json_options_pb.js":{"import":"./dist/esm/wkt/google/protobuf/json_options_pb.js","require":"./dist/cjs/wkt/google/protobuf/json_options_pb.js"},"./wkt/google/protobuf/java_features_pb.js":{"import":"./dist/esm/wkt/google/protobuf/java_features_pb.js","require":"./dist/cjs/wkt/google/protobuf/java_features_pb.js"},"./wkt/google/protobuf/source_context_pb.js":{"import":"./dist/esm/wkt/google/protobuf/source_context_pb.js","require":"./dist/cjs/wkt/google/protobuf/source_context_pb.js"},"./wkt/google/protobuf/compiler/plugin_pb.js":{"import":"./dist/esm/wkt/google/protobuf/compiler/plugin_pb.js","require":"./dist/cjs/wkt/google/protobuf/compiler/plugin_pb.js"},"./wkt/google/protobuf/c_sharp_features_pb.js":{"import":"./dist/esm/wkt/google/protobuf/c_sharp_features_pb.js","require":"./dist/cjs/wkt/google/protobuf/c_sharp_features_pb.js"},"./wkt/google/protobuf/cpp_file_options_pb.js":{"import":"./dist/esm/wkt/google/protobuf/cpp_file_options_pb.js","require":"./dist/cjs/wkt/google/protobuf/cpp_file_options_pb.js"},"./wkt/google/protobuf/json_enumvalue_options_pb.js":{"import":"./dist/esm/wkt/google/protobuf/json_enumvalue_options_pb.js","require":"./dist/cjs/wkt/google/protobuf/json_enumvalue_options_pb.js"}},"gitHead":"01a8c3b7c95d17758c641b2b9e8ee2f14a3ee9d7","license":"(Apache-2.0 AND BSD-3-Clause)","scripts":{"attw":"attw --pack","lint":"biome lint --error-on-warnings","build":"npm run build:cjs && npm run build:esm","format":"biome format --write","prebuild":"rm -rf ./dist/*","bootstrap":"npm run bootstrap:inject && npm run bootstrap:wkt","build:cjs":"../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --ignoreDeprecations 6.0 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'","build:esm":"../../node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/esm","bootstrap:wkt":"protoc --es_out=src/wkt --es_opt=bootstrap_wkt=true,target=ts,import_extension=js,json_types=true --proto_path $(upstream-include wkt) $(upstream-files wkt)","license-header":"license-header --ignore 'src/wire/varint.ts'","bootstrap:inject":"node scripts/bootstrap-inject.mjs src","postbootstrap:wkt":"license-header src/wkt/google"},"version":"2.17.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"82f1af05-a57a-4c4f-814b-ded7f6da32b3"}},"homepage":"https://protobufes.com/","keywords":["protobuf","schema","typescript","ecmascript"],"repository":{"url":"git+https://github.com/bufbuild/protobuf-es.git","type":"git","directory":"packages/protobuf"},"_npmVersion":"11.5.1","description":"Protocol Buffers for ECMAScript. Fully compliant with the Protobuf conformance tests.","directories":{},"maintainers":[{"name":"bufdev","email":"pedge@buf.build"},{"name":"tstamm-buf","email":"tstamm@buf.build"},{"name":"bufbot","email":"bot@buf.build"},{"name":"jdailey_buf","email":"jdailey@buf.build"},{"name":"doriakeung","email":"dkeung@buf.build"},{"name":"cmahony","email":"cmahony@buf.build"},{"name":"kmcdonald-buf","email":"kmcdonald@buf.build"}],"sideEffects":false,"_nodeVersion":"24.5.0","typesVersions":{"*":{"wkt":["./dist/cjs/wkt/index.d.ts"],"wire":["./dist/cjs/wire/index.d.ts"],"txtpb":["./dist/cjs/txtpb/index.d.ts"],"reflect":["./dist/cjs/reflect/index.d.ts"],"codegenv1":["./dist/cjs/codegenv1/index.d.ts"],"codegenv2":["./dist/cjs/codegenv2/index.d.ts"],"wkt/google/protobuf/*.js":["./dist/cjs/wkt/google/protobuf/*.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"upstream-protobuf":"*"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/protobuf_2.17.0_1793867961425_0.6003296719163111"},"readme":"# @bufbuild/protobuf\n\nThis package provides the runtime library for the [protoc-gen-es](https://www.npmjs.com/package/@bufbuild/protoc-gen-es)\ncode generator plugin.\n\n## Protocol Buffers for ECMAScript\n\nA complete implementation of [Protocol Buffers](https://protobuf.dev/) in TypeScript,\nsuitable for web browsers, Node.js, Deno, and Bun, created by [Buf](https://buf.build).\n\n**Protobuf-ES** is a solid, modern alternative to existing Protobuf implementations for the JavaScript ecosystem. It\nprovides a comprehensive plugin framework and decouples the base types from RPC functionality.\n\nSome additional features:\n\n- Generates pure TypeScript\n- Plain message objects, no getters/setters\n- Reflection, registries, and custom options\n- 100% conformant against the official Protobuf test suite\n- Standard plugin-based generation, works with the Buf CLI as well as `protoc`\n- Write your own code generators with [@bufbuild/protoplugin](https://www.npmjs.com/package/@bufbuild/protoplugin)\n- Pairs with [@connectrpc/connect](https://www.npmjs.com/package/@connectrpc/connect) for RPC and [@bufbuild/protovalidate](https://www.npmjs.com/package/@bufbuild/protovalidate) for validation\n\n## Installation\n\n```bash\nnpm install @bufbuild/protobuf\n```\n\n## Documentation\n\nTo learn how to work with `@bufbuild/protobuf`, check out the docs for the [Runtime API](https://protobufes.com/guides/messages/)\nand the [generated code](https://protobufes.com/reference/generated-code/).\n\nOfficial documentation for the Protobuf-ES project can be found at [protobufes.com](https://protobufes.com/).\n\nFor more information on Buf, check out the official [Buf documentation](https://buf.build/docs/).\n\n## Examples\n\nA complete code example can be found in the **Protobuf-ES** repo [here](https://github.com/bufbuild/protobuf-es/tree/main/packages/protobuf-example).\n","publish_time":1793867961506,"_cnpm_publish_time":1793867961506,"dist-tags":{"latest":"2.17.0","legacy":"1.10.1"}}