inversify-binding-decorators - An utility that allows developers to declare InversifyJS bindings using ES2016 decorators

  •        46

The inversify-binding-decorators type definitions are included in the npm module and require TypeScript 2.0. Please refer to the InversifyJS documentation to learn more about the installation process.

https://github.com/inversify/inversify-binding-decorators#readme

Tags
Implementation
License
Platform

   




Related Projects

InversifyJS - A powerful and lightweight inversion of control container for JavaScript & Node

  •    Typescript

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript. InversifyJS is a lightweight (4KB) inversion of control (IoC) container for TypeScript and JavaScript apps. An IoC container uses a class constructor to identify and inject its dependencies. InversifyJS has a friendly API and encourages the usage of the best OOP and IoC practices. InversifyJS is a tool that helps JavaScript developers write code with good OO design.

core-decorators - Library of stage-0 JavaScript decorators (aka ES2016/ES7 decorators but not accurate) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more

  •    Javascript

Library of JavaScript stage-0 decorators (aka ES2016/ES7 decorators but that's not accurate) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more. Popular with React/Angular, but is framework agnostic. Similar to Annotations in Java but unlike Java annotations, decorators are functions which are applied at runtime. This can be consumed by any transpiler that supports stage-0 of the decorators spec, like babel.js version 5. Babel 6 does not yet support decorators natively, but you can include babel-plugin-transform-decorators-legacy or use the applyDecorators() helper.

class-validator - Validation made easy using TypeScript decorators.

  •    TypeScript

Class-based validation with Typescript / ES6 / ES5 using decorators or validation schemas. Supports both node.js and browser

lodash-decorators - A collection of decorators using lodash at it's core.

  •    TypeScript

Decorators using lodash functions. View the API docs for more in depth documentation. This library requires Map and WeakMap to be available globally. If Map or WeakMap is not supported in your environment then use a polyfill.

proposal-decorators - Decorators for ES6 classes

  •    HTML

This proposal adds decorators to JavaScript, building on earlier class fields and private methods proposals. This introductory document proposes a combined vision for how the proposed class features could work together--decorators, class fields and private methods, drawing on the earlier Orthogonal Classes and Class Evaluation Order proposals.


ts-express-decorators - :triangular_ruler: A TypeScript Framework on top of Express

  •    TypeScript

Ts.ED is a framework on top of Express to write your application with TypeScript (or in ES6). It provides a lot of decorators to write your code. Important! TsExpressDecorators requires Node >= 6, Express >= 4, TypeScript >= 2.0 and the experimentalDecorators, emitDecoratorMetadata, types and lib compilation options in your tsconfig.json file.

wrapt - A Python module for decorators, wrappers and monkey patching.

  •    Python

The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction of function wrappers and decorator functions. The wrapt module focuses very much on correctness. It therefore goes way beyond existing mechanisms such as functools.wraps() to ensure that decorators preserve introspectability, signatures, type checking abilities etc. The decorators that can be constructed using this module will work in far more scenarios than typical decorators and provide more predictable and consistent behaviour.

zend-form-decorators-bootstrap - Zend_Form decorators for Twitter's Bootstrap UI

  •    PHP

Zend_Form decorators for Twitter's Bootstrap UI

Decor - Android layout decorators : Injecting custom attributes in layout files, Using decorators to get rid of unnecessary class explosion with custom views

  •    Java

Decor is a library that applies decorators to Android layout with additional attributes without the need to extend and create a custom View for each functionality. Decor plugs into Android's layout inflation and applies custom attributes to Views.

babel-plugin-transform-decorators-legacy - A plugin for Babel 6 that (mostly) replicates the old decorator behavior from Babel 5

  •    Javascript

This is a plugin for Babel 6 that is meant to replicate the old decorator behavior from Babel 5 in order to allow people to more easily transition to Babel 6 without needing to be blocked on updates to the decorator proposal or for Babel to re-implement it. If you are including your plugins manually and using transform-class-properties, make sure that transform-decorators-legacy comes before transform-class-properties.

class-validator - Validation made easy using TypeScript decorators.

  •    TypeScript

Allows use of decorator and non-decorator based validation. Internally uses validator.js to perform validation. Class-validator works on both browser and node.js platforms. Note: Please use at least npm@6 when using class-validator as from npm@6 the dependency tree is flatterned what is good for us.

decorating - decorating: Literally decorating your terminal with decorators

  •    Python

More examples are covered on my personal blog post about decorating. Mostly decorators has a pretty consistent usage, but for now only animated and writing has support to use as contextmanagers using the with syntax.

draper - Decorators/View-Models for Rails Applications

  •    Ruby

Draper adds an object-oriented layer of presentation logic to your Rails application. Without Draper, this functionality might have been tangled up in procedural helpers or adding bulk to your models. With Draper decorators, you can wrap your models with presentation-related logic to organise - and test - this layer of your app much more effectively.

Apache Commons - Alternative to Java collection

  •    Java

Commons-Collections seek to build upon the JDK classes by providing new interfaces, implementations and utilities. It provides collection class like Identity map, Ordered map, Reference map, Composite collections, Bag interface etc.

ng-metadata - Angular 2 decorators and utils for Angular 1.x

  •    TypeScript

ng-metadata is a great solution for people who want to gradually update an existing ng1 codebase to TypeScript/ES2015 using Angular 2 conventions and styles that runs today on Angular 1.4+.No hacks. No overrides. Production ready.

active_decorator - ORM agnostic truly Object-Oriented view helper for Rails 3, 4 and 5

  •    Ruby

Sometimes you may want to use decorators outside of Action View, for example, for background tasks for ActiveJob. For such use case, ActiveDecorator module provides run_with method that takes some kind of Action View and a block. If you would like a different rule, you can configure in your initializer.

psr7 - PSR-7 HTTP message library

  •    PHP

This repository contains a full PSR-7 message implementation, several stream decorators, and some helpful functionality like query string parsing. This package comes with a number of stream implementations and stream decorators.

cachetools - Extensible memoizing collections and decorators

  •    Python

This module provides various memoizing collections and decorators, including variants of the Python 3 Standard Library @lru_cache function decorator. For the purpose of this module, a cache is a mutable mapping of a fixed maximum size. When the cache is full, i.e. by adding another item the cache would exceed its maximum size, the cache must choose which item(s) to discard based on a suitable cache algorithm. In general, a cache's size is the total size of its items, and an item's size is a property or function of its value, e.g. the result of sys.getsizeof(value). For the trivial but common case that each item counts as 1, a cache's size is equal to the number of its items, or len(cache).