Awesome Open Source
Awesome Open Source

utils-decorators

Build Status
Coverage Status
Mutation testing badge

This library was highly inspired by lodash but uses decorators to implement its util methods.
The lib can be used both in node and in web application, it is built to be tree-shakable so you can use it even if you need a specific decorator.
Also, note that this library can be used both as functions and decorators,

installation:

npm i utils-decorators

Please note that the decorators are working perfectly with plain JavaScript code as well as with TypeScript.

Docs

check the documentation

Feedback

I will be more than happy to hear your feedback, don't hesitate to ask any question or open an issue. PRs are always welcomed :)
Also, I will be happy to hear about new ideas for new decorators, if you have such, please open an issue and describe the requirements and features of your decorator.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
html (10,729
typescript (10,457
node (952
decorators (88
webdevelopment (46
debounce (19
delay (18

Find Open Source By Browsing 7,000 Topics Across 59 Categories