Bug#1109206: ITP: node-bind-decorator -- ECMAScript decorator for binding methods to class instances
Package: wnpp
Severity: wishlist
Owner: Thomas Goirand <zigo@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : node-bind-decorator
Version : 1.0.11
Upstream Contact: Ivo Stratev <ivo.stratev.tues@gmail.com>
* URL : https://github.com/NoHomey/bind-decorator
* License : Expat
Programming Lang: Javascript
Description : 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.
I intend to maintain this package in the Home Assistant team.
Reply to: