Yellow and White Photo Coming Soon Instagram Post (13).png

We Open Sourced Our TypeScript SDK. Here's Why.

Even with self-documenting APIs, building a frontend is painful. You're still fighting with API documentation. You're managing authentication manually. You're keeping your types in sync with your backend, which is impossible when you're iterating fast. Type errors sneak into production because your frontend types don't match what your backend actually returns.

This happens even on Anythink, where your APIs are self-documenting and generated exactly to your data model.

So we built an SDK to fix it.

C

Chris Addams

Author

5 min read

The Anythink TypeScript SDK is one package. Import it. Connect to your backend. That's it.

You get full TypeScript support across your entire API surface. Every endpoint, every data type, every response is automatically typed. Your IDE knows what's available before you finish typing. You get autocomplete. You get type safety. You get errors caught at development time instead of in production.

When your backend schema changes, your frontend types update automatically. No manual syncing. No outdated documentation. No guessing.

Why We Open Sourced It

We could have kept this closed. Made it a premium feature. Charged for it.

But that's not why we're building Anythink. We're building it because founders shouldn't waste time on infrastructure. That includes frontend infrastructure.

An open source SDK, under MIT, means:

  • You can use it freely in commercial projects
  • You can modify it to fit your needs
  • You can inspect every line of code
  • You can contribute improvements back
  • No vendor lock-in. It's yours.

We built it for founders. Open source makes sense.

What You Get With the SDK

Full TypeScript support. Your backend schema automatically generates your frontend types. When you add a field to your database, your frontend automatically knows about it. When you remove a field, TypeScript throws an error before you deploy.

Authentication is built in. Sessions. Token refresh. Auth flows. You don't think about authentication. It just works.

With one package import and full TypeScript support, your types match your backend. Errors are handled. You're writing less code to get your app talking with your backend. Your IDE catches mistakes before they hit production.

No configuration files. No setup wizards. No boilerplate.

Works with React, Vue, Svelte, vanilla JavaScript, Angular, Next.js, Remix. Framework agnostic.

Why This Matters

Frontend development speed isn't about typing faster. It's about reducing friction.

Friction comes from debugging API integration problems. From fixing type mismatches between frontend and backend. From waiting for API documentation to get updated. From wrestling with authentication. From relearning your own API every time you come back to a project.

The SDK eliminates all of that.

When your types are guaranteed to match your backend, you move faster. When authentication is handled, you move faster. When your IDE knows what's available, you move faster.

This is what building platforms in moments not months actually means.

We Need Contributors

We open sourced this because better SDKs come from the community. Right now we're focused on core TypeScript support, but there's so much more to build.

Vue integration. Svelte stores. Remix loaders. Next.js integration. Better error handling patterns. Performance optimizations. Real-time subscriptions. Offline support.

If you're building on Anythink, you probably have ideas for features we haven't thought of. If you're a TypeScript developer, you probably see ways to improve the API.

Contribute. Build with us. Help us make it easier for more founders to ship products fast.

The Stack We're Building

Your backend runs on .NET/C# infrastructure built for speed and scale. Your database model auto-generates your APIs. Your APIs auto-generate your types. Your types auto-update when your schema changes.

There's no gap. No manual syncing. No documentation that falls out of date. Just your product.

And now the frontend SDK completes that picture. You can ship a full stack product without writing boilerplate. Without fighting integrations. Without wrestling with types.

Get Started

The SDK is available on npm and GitHub:

npm install @anythink-cloud/sdk

GitHub: https://github.com/anythink-cloud/sdk

If you're building on Anythink, add it to your project today. See how much faster frontend development becomes.

If you're not on Anythink yet, this is part of why founders choose us. We're not just giving you a backend platform. We're giving you a complete stack designed for speed and built in the open with our community.

Tags: