všetky možnosti
forky  ] [  sid  ]
[ Zdroj: node-bind-decorator  ]

Balík: node-bind-decorator (1.0.11-2)

Odkazy pre node-bind-decorator

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík node-bind-decorator:

Správcovia:

Externé zdroje:

Podobné balíky:

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.

Stiahnuť node-bind-decorator

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 4.4 kB19.0 kB [zoznam súborov]