Skip to content

nevoland/unchangeable

Repository files navigation

Unchangeable

🧊 Helpers for handling immutable values

Features

  • Provides tools to update immutable objects and arrays
  • Defines empty object and array
  • Includes helpers to check for object emptiness

Usage

Everything is exported from the main entry-point through an ES6 module:

import {
  EMPTY_OBJECT,
  EMPTY_ARRAY,
  setItem,
  setProperty,
  isEmpty,
} from "unchangeable";

Installation

Install with the Node Package Manager:

npm install unchangeable

Documentation

Documentation is generated here.