Skip to content
Sections
>> Trisquel >> Balíky >> aramo >> web >> node-decko
aramo  ]
[ Zdroj: decko  ]

Balík: node-decko (1.2.0-2)

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

Stiahnuť node-decko

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