stacks-objects

Official

Type-safe object utilities for Stacks.

Authorstacksjs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Working with complex data in Stacks often requires reliable, type-safe object utilities to safely merge, map, and filter object properties.

Core Features & Use Cases

  • DeepMerge: recursively merge objects with preserved types, handling nested structures and ignoring arrays for deep operations.
  • objectMap: transform or filter object entries by key/value, enabling key renaming, filtering, or value transformations.
  • objectPick: select a subset of properties from an object with optional omission of undefined values.
  • clearUndefined: mutate objects in place to remove undefined fields, keeping other falsy values intact.
  • isKeyOf / objectKeys / objectEntries: provide robust type-safe key access and inspection.

Quick Start

Install the stacks-objects utilities in your TypeScript project and run a sample deepMerge to combine two config objects.

Dependency Matrix

Required Modules

None required

Components

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: stacks-objects
Download link: https://github.com/stacksjs/stacks/archive/main.zip#stacks-objects

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.