Skip to content

Akshayadeveloper/immutadeep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

immutadeep

A lightweight utility for deep, immutable updates in JS.

ImmutaDeep

ImmutaDeep is a simple, yet powerful micro-utility for performing deep, immutable updates on JavaScript objects and arrays. It's designed to solve the problem of verbose, nested spread operators (...) when managing complex state.

πŸš€ Why Use ImmutaDeep?

  1. Immutability Guaranteed: It only clones the objects/arrays along the path to the updated property, leaving the original source object completely untouched.
  2. Simple API: A single function, updateDeep(source, path, value).
  3. Lightweight: Zero dependencies and under 1KB minified, making it fast and portable.

πŸ“¦ Installation

npm install immutadeep
# or
yarn add immutadeep

About

A lightweight utility for deep, immutable updates in JS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published