Our great sponsors
|about 2 months ago||1 day ago|
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.
[Nestia] Boost up your NestJS server much faster and easier (maximum 20,000x faster)
2 projects | dev.to | 27 Apr 2023
JSON serialization is 200x faster than class-transformer
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?
2 projects | /r/Angular2 | 16 Jan 2023
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
8 projects | dev.to | 26 Dec 2022
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.
Fixing a Promise return object to be typed in Typescript
2 projects | dev.to | 1 Jul 2022
View on GitHub
Why doesn’t TypeScript natively do any type checking
10 projects | /r/typescript | 27 May 2022
class-transformer VS TypeManager.TS - a user suggested alternative
2 projects | 22 May 2022
Rewrite Dynamic form group builder for Angular13+
4 projects | dev.to | 23 Jan 2022
To implement new features, the original class-transformer had to be abandoned, since it does not publish the meta date that it collects. Fork that publishes metadata to the global - https://github.com/petrzjunior/class-transformer (PR: https://github.com/typestack/class-transformer/pull/929)
How to properly sanitise & check POST data from REST API? Which libraries can you suggest? best ways nowadays in 2022
4 projects | /r/webdev | 29 Dec 2021
I really enjoyed using class-transformer and class-validator for this.
How do you "stitch & glue" types for all your needs?
6 projects | /r/typescript | 5 Dec 2021
The class-validator / class-transform looks really nice for formatting/validation but there is also joi. suretype is attractive since theoretically typeconv could generate jsonSchema for json-schema-faker and Open API docs.
Handling json input in an express app
4 projects | /r/typescript | 12 Oct 2021
What are some alternatives?
zod - TypeScript-first schema validation with static type inference
class-validator - Decorator-based property validation for classes.
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
io-ts - Runtime type system for IO decoding/encoding
joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]
JSON-Schema Faker - JSON-Schema + fake data generators
Paste JSON as Code • quicktype - Xcode extension to paste JSON as Swift, Objective-C, and more
openapi-typescript-validator - Generate typescript with ajv validation based on openapi schemas