@jagaad/utils
TypeScript icon, indicating that this package has built-in type declarations

0.13.1 • Public • Published

@jagaad/utils

A comprehensive JavaScript/TypeScript utility library that provides a collection of helper functions for Jagaad projects.

npm version TypeScript MIT License

Description

@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.

Installation

You can install the package using npm:

npm install @jagaad/utils

Usage

Import the entire library:

import { clamp } from '@jagaad/utils';

// Use any utility
const clampedValue = clamp(10, 20, 30);

Available Utilities

Please browse the repository source code to know more about available utilities

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

[!NOTE] Please make sure that you add only generic types and utilities.
Anything that is more specific, should live in the project repository itself.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Please ensure your code follows the existing style and includes appropriate tests.

Building from Source

# 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

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Developed and maintained by the Jagaad Team
  • Inspired by utility libraries like lodash, ramda, type-fest and others.

Package Sidebar

Install

npm i @jagaad/utils

Weekly Downloads

149

Version

0.13.1

License

MIT

Unpacked Size

57.2 kB

Total Files

9

Last publish

Collaborators

  • andrew.luca.jagaad
  • davidebernardo
  • jagaad.tech