Socket
Socket
Sign inDemoInstall

utils-decorators

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utils-decorators

decorators for reducing repetitive code


Version published
Weekly downloads
6.1K
decreased by-3.82%
Maintainers
0
Weekly downloads
 
Created
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.

Keywords

FAQs

Package last updated on 11 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc