TypeScript Decorators

Open-source TypeScript projects categorized as Decorators

Top 22 TypeScript Decorator Projects

  • class-validator

    Decorator-based property validation for classes.

    Project mention: Show HN: Graphweaver – Instant GraphQL API on Postgres, MySQL, SQLite and More | news.ycombinator.com | 2023-08-27

    We add validation using https://github.com/typestack/class-validator.

    I will make sure we get this documented.

  • TypeGraphQL

    Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

    Project mention: Cerbos + GraphQL: Do not reinvent user permissions | /r/graphql | 2023-05-05

    In this tutorial, we're building a simple application which uses Cerbos inside of a GraphQL server. The server is written in typescript and uses type-graphql to create the schema and resolvers, and TypeDI to handle dependency injection.

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • vue-property-decorator

    Vue.js and Property Decorator

    Project mention: How often do you use Decorators, and if you do was there any push back within your team? | /r/typescript | 2022-12-16

    In my last project these two were used a lot: https://github.com/kaorun343/vue-property-decorator and https://class-component.vuejs.org/

  • tsyringe

    Lightweight dependency injection container for JavaScript/TypeScript

    Project mention: SOLID explicado com TypeScript | dev.to | 2023-05-21

    Alguns frameworks trabalham desta forma por padrão, como é o caso do Angular, quando este não é o padrão do framework que utilizamos podemos usar alguma biblioteca, como a Inversify ou tsyringe da Microsoft.

  • sequelize-typescript

    Decorators and some other features for sequelize

    Project mention: Preferred ORM? | /r/Deno | 2023-07-09

    I am using sequelize. Works decent. https://github.com/sequelize/sequelize-typescript

  • Ts.ED

    :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!

    Project mention: Choosing a backend API framework | /r/node | 2023-06-13

    Ts.ED - Controller-based (DI supporting) backend framework that seems to offer quite a lot (although I'm wary of it being quite close to Nest.js)

  • until-destroy

    🦊 RxJS operator that unsubscribe from observables on destroy

    Project mention: Angular 16 - takeUntilDestroyed() operator | /r/angular | 2023-04-22

    Nice! I didn't know about this. I was using the `untilDestroyed` operator from this package, which does exactly the same thing: https://github.com/ngneat/until-destroy

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • injection-js

    Dependency injection library for JavaScript and TypeScript in 5.1K. It is an extraction of the Angular's ReflectiveInjector which means that it's well designed, feature complete, fast, reliable and well tested.

    Project mention: Typesafe, (almost) Zero Cost Dependency Injection in TypeScript | dev.to | 2023-01-09

    injection-js

  • discordx

    🤖 Create a discord bot with TypeScript and Decorators!

  • rxweb

    Tons of extensively featured packages for Angular, VUE and React Projects

  • vue-facing-decorator

    Vue typescript class component decorators

  • ioc

    :unicorn: lightweight (<1kb) inversion of control javascript library for dependency injection written in typescript (by owja)

    Project mention: Typesafe, (almost) Zero Cost Dependency Injection in TypeScript | dev.to | 2023-01-09

    ioc

  • utils-decorators

    Decorators for web and node applications

  • meta-controller

    Create REST APIs using TypeScript decorators.

    Project mention: Using OOP patterns in an express application? | /r/node | 2023-03-14

    I wrote a library to achieve this. It's not been very popular but I'm using it successfully in production. https://github.com/rmuchall/meta-controller

  • TypeManager.TS

    Transform JSON strings or plain objects into JS class instances.

  • react-decorate-form

    🚀 Elegant form validation solution in React with TypeScript using Decorators 🚀

    Project mention: Check Out This Awesome TypeScript library for Super Easy Form Validation with Decorators | /r/typescript | 2023-01-02

    react-decorate-form

  • ts-jackson

    A typescript library to deserialize and serialize json into classes. You can use different path pattern to resolve deeply nested structures. Every path pattern provided by lodash/get|set object is supported. Check out src/examples as a reference.

  • nestjs-custom-injector

    Custom injecting logic for NestJS with support multi providing

  • decotix

    A decorator-focused typescript client for the Prisma schema file.

  • ombud

    A tiny decorator based abstraction layer for making HTTP proxy servers with fastify-http-proxy

  • node-decorators

    Typescript decorator implementation for caching and logging

    Project mention: Decorators: saviour of the TypeScript devs | dev.to | 2023-06-21

    Trust me when I say this, it's very easy to implement. It'll be one of those projects which will give you the highest ROI on engineering investments. It took me few hours to implement @Cache and @Log for a test project. The working project can be found here.

  • ng-rest

    Angular module representing rest services - https://ressurectit.github.io/#/content/rest

  • 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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-27.

TypeScript Decorators related posts

Index

What are some of the best open-source Decorator projects in TypeScript? This list will help you:

Project Stars
1 class-validator 9,874
2 TypeGraphQL 7,845
3 vue-property-decorator 5,519
4 tsyringe 4,425
5 sequelize-typescript 2,653
6 Ts.ED 2,605
7 until-destroy 1,683
8 injection-js 1,160
9 discordx 517
10 rxweb 393
11 vue-facing-decorator 273
12 ioc 251
13 utils-decorators 192
14 meta-controller 21
15 TypeManager.TS 20
16 react-decorate-form 19
17 ts-jackson 13
18 nestjs-custom-injector 9
19 decotix 7
20 ombud 3
21 node-decorators 2
22 ng-rest 2
Free Global Payroll designed for tech teams
Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.
try.revelo.com