{"name":"@bufbuild/protobuf","version":"0.2.1","license":"(Apache-2.0 AND BSD-3-Clause)","_id":"@bufbuild/protobuf@0.2.1","maintainers":[{"name":"sayers-buf","email":"sayers@buf.build"},{"name":"psachs-buf","email":"psachs@buf.build"},{"name":"bufbot","email":"bot@buf.build"},{"name":"sbianco","email":"sbianco@buf.build"},{"name":"tstamm-buf","email":"tstamm@buf.build"},{"name":"bufdev","email":"pedge@buf.build"}],"homepage":"https://github.com/bufbuild/protobuf-es#readme","bugs":{"url":"https://github.com/bufbuild/protobuf-es/issues"},"dist":{"shasum":"24e7d04bef4d380362a6cc9e52936dc00d86af6a","tarball":"http://registry-npm.ywwl.com/@bufbuild/protobuf/download/@bufbuild/protobuf-0.2.1.tgz","fileCount":159,"integrity":"sha512-7bsong0tlLQvkdq5K1U6qFFn35oggCwxaiOs1LHGsqkP/E1FvW4JmRHkxkjlyMNd01S5GbqCrnyHD5VW6l3Djg==","signatures":[{"sig":"MEUCIHl4dbcEQZEedAk4xi56GOnYU983XjyKJyxYTsIuKVY5AiEA0aHJ20eTRxu7m1aj6TTZQFWwiF78OU9DWj5Tjn0H7hE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":985337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjX/VjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphOQ//fIAcdJGgaiHDGEf0SqEjNT9i8VpNx/5okSeWBPPT/mmqEDat\r\npmGyNY2mIGgq1X6KsPQq/VPZF9MEQdNC9CK76+J+3LshqYJB14cw7szb3uQ1\r\nVFOCbX5CBV+J42EtpBEFi7xtkCRXtxKD+RZO5cUUF6QWHCCrJ0P0VbRduFIm\r\niDxnS1DmQRmq3Noserm3+pXYKF0EzIr+NCKzvjAR0gShjudAWJZGZXa40UBh\r\nFVdFdQh25wJHJhVj5XUE+dBSpNKrHlxQJAlh6sNYd3LxT9NlUBrZFyR9fTKx\r\nhpBH1Anpf8CnMbvIUP/OnpvEWeNcCOaK4mwC1IDfLPWcultq6WFUV6yzDbvl\r\npTUp0Iz8mZtfgq5wTiY+wVZgQS6S7aCCw5UnXPoh+CKgtQc5mq7OwK1dR3B5\r\nb6PxInKPjA7rpnSdXG5AWj3ZvsQDoiCnftsYx+BJOTLXnkPoMxQmxaLOPjsF\r\nN6YhMxcSSbya4eh1cjtBAghOtnYVq+/Y9KX4m5OYG1LZ3f14Rxr8m7mpIH9Q\r\nYp5vvMFcfIx3SCRsV6SLKlrsJsfysFtdT79rgYsME9RZHz53inPF6eqc2gfh\r\nzVN2UqHWGKvMt0mBmzIZuBiHxchL8A2O7ZdV9N3K9aTUuMxcA215dWpMmc6B\r\nxWL56qhg7LPznMTNp6oy51MZ3Fx1MNCELCE=\r\n=jDXg\r\n-----END PGP SIGNATURE-----\r\n","size":134695,"noattachment":false,"key":"/@bufbuild/protobuf/-/@bufbuild/protobuf-0.2.1.tgz"},"main":"./dist/cjs/index.js","type":"module","types":"./dist/types/index.d.ts","exports":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"gitHead":"e0d2d7f78508472436577c8fd5f70b28c1ade533","scripts":{"build":"npm run build:cjs && npm run build:esm+types","clean":"rm -rf ./dist/cjs/* ./dist/esm/* ./dist/types/*","build:cjs":"../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'","build:esm+types":"../../node_modules/typescript/bin/tsc --project tsconfig.json --module ES2015 --outDir ./dist/esm --declaration --declarationDir ./dist/types"},"_npmUser":{"name":"tstamm-buf","email":"tstamm@buf.build"},"repository":{"url":"git+https://github.com/bufbuild/protobuf-es.git","type":"git","directory":"packages/protobuf"},"_npmVersion":"8.1.0","description":"A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.","directories":{},"sideEffects":false,"_nodeVersion":"17.0.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/protobuf_0.2.1_1667233122889_0.2840595792193814","host":"s3://npm-registry-packages"},"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":1667233123044,"_cnpm_publish_time":1667233123044,"dist-tags":{"latest":"2.17.0","legacy":"1.10.1"}}