Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vlio20/utils-decorators
Decorators for web and node applications
https://github.com/vlio20/utils-decorators
debounce decorators delay memoize memoize-async node typescript webdevelopment
Last synced: about 1 month ago
JSON representation
Decorators for web and node applications
- Host: GitHub
- URL: https://github.com/vlio20/utils-decorators
- Owner: vlio20
- License: mit
- Created: 2019-03-29T13:25:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-23T08:40:07.000Z (9 months ago)
- Last Synced: 2024-05-23T03:26:23.030Z (4 months ago)
- Topics: debounce, decorators, delay, memoize, memoize-async, node, typescript, webdevelopment
- Language: TypeScript
- Homepage: https://vlio20.github.io/utils-decorators/
- Size: 1.74 MB
- Stars: 205
- Watchers: 2
- Forks: 13
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# utils-decorators
[![Build Status](https://travis-ci.org/vlio20/utils-decorators.svg?branch=master)](https://travis-ci.org/vlio20/utils-decorators)
[![Coverage Status](https://coveralls.io/repos/github/vlio20/utils-decorators/badge.svg?branch=master)](https://coveralls.io/repos/github/vlio20/utils-decorators/)
[![Mutation testing badge](https://badge.stryker-mutator.io/github.com/vlio20/utils-decorators/master)](https://stryker-mutator.github.io)
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:
```bash
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.