alle opties
forky  ] [  sid  ]
[ Bron: node-bind-decorator  ]

Pakket: node-bind-decorator (1.0.11-2)

Verwijzigingen voor node-bind-decorator

Screenshot

Debian bronnen:

Het bronpakket node-bind-decorator downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

ECMAScript decorator for binding methods to class instances

This package provides a lightweight ECMAScript (JavaScript) decorator that ensures methods are bound to their class instance. This is especially useful when passing class methods as callbacks, preventing issues with the this context.

bind-decorator simplifies class development by reducing boilerplate associated with manual binding in constructors. It is compatible with modern JavaScript environments that support decorators or transpilers like Babel.

This package is intended for use with Node.js and JavaScript projects that make use of class-based object-oriented design.

node-bind-decorator downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 4,4 kB19,0 kB [overzicht]