Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Class-transformer Alternatives
Similar projects and alternatives to class-transformer
-
class-validator
Decorator-based property validation for classes.
-
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
-
TypeORM
ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
-
typebox
JSON Schema Type Builder with Static Type Resolution for TypeScript
-
typedi
Simple yet powerful dependency injection tool for JavaScript and TypeScript.
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
Paste JSON as Code • quicktype
Xcode extension to paste JSON as Swift, Objective-C, and more
-
joi
The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]
-
TypeScript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8) 🚀
-
apollo-server
🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
-
ajv
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
-
Superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).
-
-
-
-
typescript-runtime-type-benchmarks
📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
-
foundation
GraphQL Foundation Charter and Legal Documents (by graphql)
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
class-transformer reviews and mentions
-
[Nestia] Boost up your NestJS server much faster and easier (maximum 20,000x faster)
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?
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.
-
Fixing a Promise return object to be typed in Typescript
View on GitHub
- Why doesn’t TypeScript natively do any type checking
-
class-transformer VS TypeManager.TS - a user suggested alternative
2 projects | 22 May 2022
-
Rewrite Dynamic form group builder for Angular13+
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
I really enjoyed using class-transformer and class-validator for this.
-
How do you "stitch & glue" types for all your needs?
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
-
A note from our sponsor - Sonar
www.sonarsource.com | 28 May 2023
Stats
typestack/class-transformer is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of class-transformer is TypeScript.
Popular Comparisons
- class-transformer VS TypeORM
- class-transformer VS zod
- class-transformer VS class-validator
- class-transformer VS typescript-is
- class-transformer VS io-ts
- class-transformer VS typebox
- class-transformer VS zod
- class-transformer VS typedi
- class-transformer VS joi
- class-transformer VS Paste JSON as Code • quicktype