{"_id":"@arcjet-vendor/connectrpc-connect","_rev":"3-234ced1040a9a0cb750aa25490ac20fa","name":"@arcjet-vendor/connectrpc-connect","dist-tags":{"latest":"1.7.1"},"versions":{"1.7.1":{"name":"@arcjet-vendor/connectrpc-connect","version":"1.7.1","license":"Apache-2.0","_id":"@arcjet-vendor/connectrpc-connect@1.7.1","maintainers":[{"name":"quinn-arcjet","email":"quinn@arcjet.com"}],"homepage":"https://github.com/connectrpc/connect-es#readme","bugs":{"url":"https://github.com/connectrpc/connect-es/issues"},"dist":{"shasum":"fd14ca684d1e40f9b8d907e0ffeacf11a3037236","tarball":"https://registry.npmjs.org/@arcjet-vendor/connectrpc-connect/-/connectrpc-connect-1.7.1.tgz","fileCount":287,"integrity":"sha512-nKnfkleTk+FtbNjCSSp8wLJYGjPH2b50O7ebCmQxrVEqFeCl1eDNEY0eDoktMmGIdDGsBCdvh8AZWE3+3Z8KeQ==","signatures":[{"sig":"MEQCIHn8GeHq+pNW6aaj35ZSLREiB1Ry5RGcyd2gHQjwQg8LAiB4DmRDQwWMDBop0pqTUrej8XoEuzyGEEcj4cdwV/VEDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":884683},"main":"./dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./protocol":{"import":"./dist/esm/protocol/index.js","require":"./dist/cjs/protocol/index.js"},"./protocol-grpc":{"import":"./dist/esm/protocol-grpc/index.js","require":"./dist/cjs/protocol-grpc/index.js"},"./protocol-connect":{"import":"./dist/esm/protocol-connect/index.js","require":"./dist/cjs/protocol-connect/index.js"},"./protocol-grpc-web":{"import":"./dist/esm/protocol-grpc-web/index.js","require":"./dist/cjs/protocol-grpc-web/index.js"}},"gitHead":"f7eddb5136ff9cfd48b03377925b3053f848e09c","scripts":{"attw":"attw --pack","lint":"eslint --max-warnings 0 .","test":"jasmine --config=jasmine.json","build":"npm run build:cjs && npm run build:esm && node scripts/update-user-agent.mjs","format":"prettier --write --ignore-unknown '.' '!dist' '!src/protocol-grpc/gen'","generate":"buf generate","prebuild":"rm -rf ./dist/*","build:cjs":"tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs --declaration --declarationDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'","build:esm":"tsc --project tsconfig.json --outDir ./dist/esm --declaration --declarationDir ./dist/esm","postgenerate":"license-header src/protocol-grpc/gen","license-header":"license-header"},"_npmUser":{"name":"quinn-arcjet","email":"quinn@arcjet.com"},"repository":{"url":"git+https://github.com/connectrpc/connect-es.git","type":"git","directory":"packages/connect"},"_npmVersion":"10.8.2","description":"Type-safe APIs with Protobuf and TypeScript.","directories":{},"sideEffects":false,"_nodeVersion":"18.20.8","typesVersions":{"*":{"protocol":["./dist/cjs/protocol/index.d.ts"],"protocol-grpc":["./dist/cjs/protocol-grpc/index.d.ts"],"protocol-connect":["./dist/cjs/protocol-connect/index.d.ts"],"protocol-grpc-web":["./dist/cjs/protocol-grpc-web/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"undici":"^5.28.4","jasmine":"^5.2.0","@bufbuild/buf":"^1.39.0","@types/jasmine":"^5.0.0","@bufbuild/protoc-gen-es":"^1.10.0"},"peerDependencies":{"@bufbuild/protobuf":"^1.10.0"},"_npmOperationalInternal":{"tmp":"tmp/connectrpc-connect_1.7.1_1769558347794_0.2551916382003334","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2026-01-27T23:59:07.711Z","modified":"2026-02-06T01:48:42.945Z","1.7.1":"2026-01-27T23:59:07.949Z"},"bugs":{"url":"https://github.com/connectrpc/connect-es/issues"},"license":"Apache-2.0","homepage":"https://github.com/connectrpc/connect-es#readme","repository":{"url":"git+https://github.com/connectrpc/connect-es.git","type":"git","directory":"packages/connect"},"description":"Type-safe APIs with Protobuf and TypeScript.","maintainers":[{"name":"davidmytton","email":"david@arcjet.com"},{"name":"quinn-arcjet","email":"quinn@arcjet.com"}],"readme":"> ⚠️ **Vendored fork**  \n> Maintained by Arcjet for internal/product use. May diverge from upstream.\n\n# @arcjet-vendor/connectrpc-connect\n\nConnect is a family of libraries for building type-safe APIs with different languages and platforms.\n[@arcjet-vendor/connectrpc-connect](https://www.npmjs.com/package/@arcjet-vendor/connectrpc-connect) brings them to TypeScript,\nthe web browser, and to Node.js.\n\nWith Connect, you define your schema first:\n\n```\nservice ElizaService {\n  rpc Say(SayRequest) returns (SayResponse) {}\n}\n```\n\nAnd with the magic of code generation, this schema produces servers and clients:\n\n```ts\nconst answer = await eliza.say({ sentence: \"I feel happy.\" });\nconsole.log(answer);\n// {sentence: 'When you feel happy, what do you do?'}\n```\n\nUnlike REST, the RPCs you use with Connect are typesafe end to end, but they are\nregular HTTP under the hood. You can see all requests in the network inspector,\nand you can `curl` them if you want:\n\n```shell\ncurl \\\n    --header 'Content-Type: application/json' \\\n    --data '{\"sentence\": \"I feel happy.\"}' \\\n    https://demo.connectrpc.com/connectrpc.eliza.v1.ElizaService/Say\n```\n\nWith Connect for ECMAScript, you can spin up a service in Node.js and call it\nfrom the web, the terminal, or native mobile clients. Under the hood, it uses\n[Protocol Buffers](https://github.com/bufbuild/protobuf-es) for the schema, and\nimplements RPC (remote procedure calls) with three protocols: The widely available\ngRPC and gRPC-web, and Connect's [own protocol](https://connectrpc.com/docs/protocol/),\noptimized for the web. This gives you unparalleled interoperability with\nfull-stack type-safety.\n\n## Get started on the web\n\nFollow our [10 minute tutorial](https://connectrpc.com/docs/web/getting-started) where\nwe use [Vite](https://vitejs.dev/) and [React](https://reactjs.org/) to create a\nweb interface for ELIZA.\n\n**React**, **Svelte**, **Vue**, **Next.js** and **Angular** are supported (see [examples](https://github.com/connectrpc/examples-es)),\nand we have an expansion pack for [TanStack Query](https://github.com/connectrpc/connect-query-es).\nWe support all modern web browsers that implement the widely available\n[fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)\nand the [Encoding API](https://developer.mozilla.org/en-US/docs/Web/API/Encoding_API).\n\n## Get started on Node.js\n\nFollow our [10 minute tutorial](https://connectrpc.com/docs/node/getting-started)\nto spin up a service in Node.js, and call it from the web, and from a gRPC client\nin your terminal.\n\nYou can use vanilla Node.js, or our server plugins for [Fastify](https://www.fastify.io/)\nor [Express](https://expressjs.com/). We support the builtin `http`, and `http2`\nmodules on Node.js v16 and later.\n","readmeFilename":"README.md"}