[ ソース: decko ]
パッケージ: node-decko (1.2.0-4)
useful Javascript decorators
Decorators help simplify code by replacing the noise of common patterns with declarative annotations.
Decko establishes 3 standard decorators that are immediately recognizable, so you can avoid creating decorators in your own codebase:
* @bind: make the value of this constant within a method * @debounce: throttle calls to a method * @memoize: cache return values based on arguments