Search results

34 packages found

Method auto-bind for ES6 (ES2015) classes

published version 0.1.4, 9 years ago96 dependents licensed under $ISC
184,777

The fastest automatic method.bind(this) decorator

published version 1.0.11, 8 years ago172 dependents licensed under $MIT
335,120

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! Works great with React/Angular/more!

published version 0.20.0, 7 years ago491 dependents licensed under $MIT
217,106

Auto bind instance methods of classes.

published version 1.0.5, 6 years ago76 dependents licensed under $MIT
24,401

A small framework-agnostic utility for auto-binding "class" methods to instances (with customization options) using either "legacy" decorator syntax or plain old ES5 (without needing ES2015+ polyfills).

published version 3.0.1, 7 years ago17 dependents licensed under $MIT
8,550

Useful components and utilities for working with React

published version 3.0.1, 2 years ago9 dependents licensed under $MIT
4,454

Babel plugin that binds every class method to "this" with hot reload support

published version 5.0.1, 8 years ago4 dependents licensed under $MIT
2,228

Fixes class methods so that they can be extracted with out worrying about breaking the connection to "this".

published version 1.0.7, 8 years ago1 dependents licensed under $Public Domain
1,046

Decorator for creating bound methods

published version 1.1.1, 3 years ago3 dependents licensed under $ISC
253

Small utility function to automatically bind class methods to instances

published version 1.0.6, 7 years ago0 dependents licensed under $MIT
102

A carefully crafted base class for all your React components

published version 4.0.6, 7 years ago5 dependents licensed under $MIT
84

Method auto-bind for TypeScript

published version 0.3.2, 5 years ago1 dependents licensed under $ISC
93

it binds methods to its class prototype + Compatible with stub/spy used on unit-test frameworks (Sinon.Js, enzyme,...so on) + Can be integrated with 3rd party decorators (like @autobind decorator)

published version 0.3.4, 8 years ago3 dependents licensed under $MIT
86

is a helper to bind a list of methods to an object reference

published version 1.0.2, 7 years ago2 dependents licensed under $MIT
60

Binds methods to their class instance automagically

published version 1.0.10, 6 years ago0 dependents licensed under $MIT
59

Binding class properties and passing additional params to callback made easy.

published version 0.2.0, 8 years ago0 dependents licensed under $MIT
43

ES5 function wrappers and ES7/ES2016 decorators.Works great with React/Angular/more!

published version 1.1.5, 9 years ago0 dependents licensed under $MIT
43

Easily generate a graphs/REST-clients from json api-modelspecifications. Like restangular/traverse/backbone/restful but more atheist-style.

published version 1.0.10, 9 years ago0 dependents licensed under $ISC
36

A babel plugin to auto bind you class methods

published version 0.1.1, 7 years ago0 dependents licensed under $MIT
37

Easiest way to bind ES6 Class methods (by using array of methods names)

published version 1.0.2, 8 years ago2 dependents licensed under $ISC
27