1.0.1 β€’ Published 10 months ago

@manaswinisasmal/utility-hub v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Utility Hub JS πŸš€

A collection of useful JavaScript utility functions for string processing, arrays, numbers, and more.

πŸ“¦ Installation

Install via npm:

npm i @manaswinisasmal/utility-hub

How to use itπŸ˜€πŸ˜€πŸ˜€
# const { 
#   isEmpty, capitalize, truncate, randomNumber, formatDate, 
#   deepClone, uniqueArray, chunkArray, camelToSnake 
# } = require("utility-hub-js");

# // Example Usage
# console.log(capitalize("hello")); // Output: Hello
# console.log(isEmpty([])); // Output: true
# console.log(truncate("Hello, world!", 5)); // Output: Hello...
# console.log(randomNumber(1, 10)); // Output: Random number between 1 and 10
# console.log(formatDate(new Date(), "DD-MM-YYYY")); // Output: 19-02-2025


🎯 Why Use Utility Hub JS?
βœ… Lightweight: Minimal package size.
βœ… Zero Dependencies: No external dependencies.
βœ… Optimized & Fast: Efficient implementations of utility functions.
βœ… Easy to Use: Simple and straightforward API.
1.0.1

10 months ago

1.0.0

10 months ago