utils
CommunityEssential JavaScript utilities for frontend workflows.
Software Engineering#frontend#javascript#utilities#currying#data-processing#precision-arithmetic#deep-copy
Authoryanyue404
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This collection provides reliable JavaScript utilities for common frontend tasks, addressing numeric precision, deep copying, and lightweight functional patterns to reduce boilerplate and avoid floating-point pitfalls.
Core Features & Use Cases
- Precise arithmetic: add, sub, mul, div with correct decimal behavior to prevent floating-point errors.
- Deep copy: robust duplication for nested objects and arrays, including special types like Date and RegExp.
- Object utilities: shallow/loose equality checks, path-based get, object merge and clone helpers.
- Currying and functional utilities: simple currying for partial application and function composition.
- Async helpers: lightweight promise wrappers and straightforward async orchestration patterns.
- Data transformation: small utilities for formatting and lightweight data manipulation.
Quick Start
Use the utils to perform common frontend tasks such as precise addition add('0.1','0.2') to obtain '0.3', or deepCopy(obj) to clone objects.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: utils Download link: https://github.com/yanyue404/fe-attitude/archive/main.zip#utils Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.