Requirements
Requirements for using oRPC.
Package | Environment | Schema |
---|---|---|
@orpc/contract | node.js >= 18, bun, deno, browser , ... | Any schema following Standard Schema (e.g. zod , valibot , ...) |
@orpc/server | node.js >= 18, bun, deno, browser, ... | Any schema following Standard Schema (e.g. zod , valibot , ...) |
@orpc/client | node.js >= 18, bun, deno, browser, ... | Any schema following Standard Schema (e.g. zod , valibot , ...) |
@orpc/react | @tanstack/react-query >= 5.55.0, react >= 18.3.0 | Any schema following Standard Schema (e.g. zod , valibot , ...) |
@orpc/react-query | @tanstack/react-query >= 5.55.0 | Any schema following Standard Schema (e.g. zod , valibot , ...) |
@orpc/vue-query | @tanstack/vue-query >= 5.55.0 | Any schema following Standard Schema (e.g. zod , valibot , ...) |
@orpc/openapi | node.js >= 18, bun, deno, browser, ... | Only zod for now |
@orpc/next | next.js >= 15.1 | Any schema following Standard Schema (e.g. zod , valibot , ...), exclude createFormAction that requires zod schema for Smart Conversion (if you use other schema require you manually coerce the data) |
@orpc/zod | node.js >= 20 (or you can polyfill), bun, deno, browser, ... | zod only |