reflect-metadata
Prototype for a Metadata Reflection API for ECMAScript (by microsoft)
typescript-needs-types
TypeScript please give us types. (by akutruff)

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
reflect-metadata | typescript-needs-types | |
---|---|---|
4 | 10 | |
3,294 | 415 | |
1.4% | 1.0% | |
7.2 | 0.0 | |
over 1 year ago | 2 months ago | |
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.
reflect-metadata
Posts with mentions or reviews of reflect-metadata.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-10-13.
-
Dynamic NestJS Listeners: Discover the Power of Lazy Loading
We could use the reflect-metadata library to store the metadata and then scan it manually to replace the placeholders with actual values, but there is a better way.
- TypeScript please give us types
-
Using modern decorators in TypeScript
Second, TypeScript 5.0 cannot emit decorator metadata. Subsequently, it doesn’t integrate with the Reflect API and won’t work with the reflect-metadata npm package.
-
Deconstructing an Object Relationship Mapper (ORM) in Typescript
Database columns will be mapped to domain object properties using decorators. This will include relationships and enum types. reflect-metadata stores metadata about the classes and properties. Most of the work is a simple map for each class, renaming db column properties to domain model properties and vice versa. Reflect.defineProperty holds a list of field metadata on the target class. This is where more database ORM logic could live in the future such as column type, length, etc. A base domain model entity will use this metadata to map the models appropriately.
typescript-needs-types
Posts with mentions or reviews of typescript-needs-types.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-08.
- TypeScript please give us types
- TypeBox: Runtime Type System Built on Industry Standards
-
Introducing ArkType: The first isomorphic type system for TS/JS
Welcome to the list: https://www.typescriptneedstypes.com/
- Announcing TypeScript 4.9 Beta
-
TypeScript Decoders and why they Matter if you care about robust code
Lol, look what I just found, someone created a whole petition about adding runtime type information (which would make a lot of use libraries redundant): https://www.typescriptneedstypes.com/
-
Mapping TypeScript's Type System to JSON Schema
Author of TypeBox here. myzod looks great :) There are a surprising amount of projects emerging nowadays in this space, but I rarely get a chance to converse with other authors. I see your project is on THE LIST too https://github.com/akutruff/typescript-needs-types :)
What are some alternatives?
When comparing reflect-metadata and typescript-needs-types you can also consider the following projects:
protobuf-ts - Protobuf and RPC for TypeScript
arktype - TypeScript's 1:1 validator, optimized from editor to runtime
knex-types - Generate TypeScript definitions (types) from a PostgreSQL database schema.
di-compiler - A Custom Transformer for Typescript that enables compile-time Dependency Injection
typescript-json-decoder - Json Decoder for Typescript

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured