A comprehensive JavaScript/TypeScript utility library that provides a collection of helper functions for Jagaad projects.
@jagaad/utils
is a collection of utility functions designed to simplify common programming tasks in JavaScript/TypeScript projects. The library provides a wide range of functions categorized by type (array, string, date, etc.) with proper TypeScript typing to enhance developer experience.
You can install the package using npm:
npm install @jagaad/utils
Import the entire library:
import { clamp } from '@jagaad/utils';
// Use any utility
const clampedValue = clamp(10, 20, 30);
Contributions are welcome! Please feel free to submit a Pull Request.
Please make sure that you add only generic types and utilities.
Anything that is more specific, should live in the project repository itself.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)Please ensure your code follows the existing style and includes appropriate tests.
# Clone the repository
git clone https://github.com/jagaad/utils.js.git
cd utils.js
# Install dependencies
npm install
# Build the library
npm run build
This project is licensed under the MIT License - see the LICENSE file for details.