utils-support
v0.1.0
Published
A lightweight utility library with various helper functions
Downloads
3
Maintainers
Readme
🛠️ Utils Support
A lightweight, zero-dependency utils-support library with a comprehensive set of helper functions for JavaScript and TypeScript. This package provides a collection of utilities for working with arrays, objects, dates, strings, web functionality, and more.
✨ Features
- 🎭 Dual Format Support: Works with both ESM and CommonJS
- 📦 Tree-Shakable: Import only what you need
- 🔍 Type-Safe: Full TypeScript support with detailed type definitions
- 🧩 Modular: Organized into logical categories
- 🪶 Lightweight: Zero dependencies and tiny footprint
- 🧠 Intuitive API: Simple and consistent function naming
📋 Categories
- Array: Manipulate and transform arrays
- Object: Work with objects efficiently
- String: String transformation and manipulation
- Date: Date formatting and calculations
- Number: Number formatting and math utilities
- Web: Browser-related helpers for URLs, cookies, etc.
- Logger: Colorful console logging
- Validation: Input validation helpers
- Storage: Local/session storage utilities
📥 Installation
# Using npm
npm install utils-support
# Using yarn
yarn add utils-support
# Using pnpm
pnpm add utils-support