TSDecorators provides a set of decorators to enhance TypeScript projects. It focuses on simplicity and usability, making TypeScript development more efficient.
🚀 - Optimized Performance: Improve the speed of your functions with decorators like memoization. 📜 - Type-Safe: Built specifically for TypeScript, ensuring type accuracy. 💡 - Easy to Use: Simple, clear, and direct decorators that are easy to integrate. 🧰 - Utility Toolkit: Contains decorators for common tasks in TypeScript development.
npm install tsdecorators --save
For detailed information on each decorator and its usage, refer to the Docs Directory.
Using TSDecorators in your project:
import { memoize } from "tsdecorators";
class Example {
@memoize
computeFunction(n: number) {
// Your code here
}
}
More examples can be found in our Usage Guide.
TSDecorators offers a collection of decorators that make TypeScript code better and more efficient. It helps developers write cleaner code without much effort.
Community input helps this project grow. If you have suggestions or find issues, please contribute. Details can be found in the Contributing Guide.
This project is licensed under the MIT License. See LICENSE for more information.