tempo
š„ Don't miss a beat. Real-time, end-to-end typesafe APIs. (by betwixt-labs)
class-validator
Decorator-based property validation for classes. (by typestack)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
tempo | class-validator | |
---|---|---|
13 | 29 | |
387 | 10,545 | |
1.3% | 1.3% | |
7.0 | 9.2 | |
2 months ago | 12 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tempo
Posts with mentions or reviews of tempo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-07.
-
Popular Libraries For Building Type-safe Web Application APIs
There are still a few more libraries in development. An example is Tempo by betwixt-labs.
-
Bebop introduces JSON-Over-Bebop for fast runtime type validation of raw JSON in Typescript; faster than Zod and other alternatives
JSON-Over-Bebop was introduced to provide the API framework built on top of Bebop, Tempo, with the ability to send and receive JSON over the wire to help migrate brownfield projects or those who want to get started building using a more familiar interchange format - but without breaking the type safety guarantees Bebop and Tempo make at compile and runtime.
-
Construction Injection without DI framework
Iām a C# developer too - you should check out Tempo (disclaimer i built it) https://github.com/betwixt-labs/tempo
- Show HN: Tempo ā gRPC alternative, quicker and browser/serverless-friendly
- Tempo: real-time, end-to-end typesafe APIs on Cloudflare Workers
- Empo: Low latency, cross-platform, end-to-end typesafe APIs
-
Introducing Tempo: low latency, cross-platform, end-to-end typesafe APIs
Thank you! If you (or anyone) wants to contribute, we have an RFC for the authentication and authorization mechanism in Tempo we'd love feedback on. https://github.com/betwixt-labs/tempo/discussions/1
class-validator
Posts with mentions or reviews of class-validator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-07.
-
Popular Libraries For Building Type-safe Web Application APIs
You can learn more from the documentation here.
-
[DDD] Tactical Design Patterns Part 3: Presentation/Infrastructure Layer
This is the request body when creating a new task. The IsString decorator provided by class-validator rejects all types other than strings, including undefined or null. The task name value object does not consider the possibility of values other than strings.
-
DRY Principle in Your AWS SAM Application with Middlewares
In this class, we are using the famous class-validator to decorate our request parameters. This way it is more clear how we are going to use our request object and everything.
-
Show HN: Graphweaver ā Instant GraphQL API on Postgres, MySQL, SQLite and More
We add validation using https://github.com/typestack/class-validator.
I will make sure we get this documented.
- [Nestia] Boost up your NestJS server much faster and easier (maximum 20,000x faster)
-
How can I declare, integrate a JSON (or similar type that is supposed to be data sent from a server) file into my Angular app, and use it;s data to display the array of Devices within it?
Also OP can check out class-transformer + class-validator if he want to properly instantiate objects and validate them with precise and verbose output of potential format errors. OP can even go the god tier way by setting up a custom RxJS operator that does that for him easily.
-
NestJS GraphQL image upload into a S3 bucket
Start by installing the class-transformer and class-validator packages for dto validation (see more in the docs), sharp for image optimization, and the S3 client packages.
-
NestJS vs. Ditsmod: auto-validation
The description of the request body model in NestJS is similar to the description of Ditsmod models, but NestJS uses decorators provided by the utility class-validator. In NestJS, it is customary to name the request body model with the ending *Dto (this is an abbreviation of Data transfer object):
-
Is there any reason not to use typescript?
You could use Zod or Superstruct to validate the types of values, or use typestack/class-validator if it makes sense.
-
I found 10,000x faster TypeScript validator library
Also, title of before article was I made 1,000x faster TypeScript validator library, but today's benchmark is showing that typescript-json is maximum 6,500x times faster. It's just because I added a new library class-validator in the benchmark and it is much slower than previous zod. Of course, I've continuously tuned the performance, but it just improved the performance about 2x times only.