Trpc Sveltekit

screenshot of Trpc Sveltekit
svelte

End-to-end typesafe APIs with tRPC.io for your SvelteKit applications.

Overview:

tRPC-SvelteKit is a package that provides end-to-end typesafe APIs for SvelteKit applications. It allows developers to easily create a tRPC router and context, and provides a helper function to use the tRPC client in SvelteKit pages. Additionally, it offers experimental WebSocket support for SvelteKit using the @sveltejs/adapter-node adapter.

Features:

  • Typesafe APIs for SvelteKit applications
  • Compatibility with @sveltejs/adapter-node, @sveltejs/adapter-vercel, and @sveltejs/adapter-netlify
  • Support for tRPC v10 (tRPC-SvelteKit v3.x.x) and tRPC v9 (tRPC-SvelteKit v2.x.x)
  • Examples included for simple, bookstall, and websocket implementations
svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.