alla flaggor
forky  ] [  sid  ]
[ Källkod: node-bind-decorator  ]

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

Länkar för node-bind-decorator

Screenshot

Debianresurser:

Hämta källkodspaketet node-bind-decorator:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Hämta node-bind-decorator

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 4,4 kbyte19,0 kbyte [filförteckning]