sveltekit-rest
TypeScript icon, indicating that this package has built-in type declarations

0.6.2 • Public • Published

Sveltekit-Rest

sveltekit-rest is a powerful library for building typesafe RESTful APIs in SvelteKit. It seamlessly integrates with both the client and server, providing a consistent and type-safe experience when creating and consuming RESTful services. This library leverages Zod for type validation, ensuring data integrity and improving the DX.

Features

  • Type-Safe APIs: Create APIs with strong TypeScript type-checking for both requests and responses.
  • Client-Side and Server-Side Integration: Utilize the same API definitions on both the client and server.
  • Automatic Serialization: Automatically serialize and deserialize data to and from JSON.
  • Zod Validation: Leverage Zod's powerful schema validation for input and output data.

Still Under Development.

Package Sidebar

Install

npm i sveltekit-rest

Weekly Downloads

0

Version

0.6.2

License

MIT

Unpacked Size

17.9 kB

Total Files

18

Last publish

Collaborators

  • anasmohammed361