dset: Tiny Deep Object Setter

JSON →
library 3.1.4 ·javascript
verified May 27, 2026

dset is a minimalist JavaScript utility, currently at version 3.1.4, designed for safely setting deeply nested values within objects. It distinguishes itself by its extremely small footprint (under 200 bytes gzipped for the main module) and explicit protection against prototype pollution since v2.1.0. The package has a stable release cadence with frequent patch updates and less frequent minor/major releases. A key differentiator is the `dset/merge` submodule, introduced in v3.1.0, which provides a merging behavior for deep object writes, useful for scenarios like GraphQL stream directives, contrasting with the main `dset` module's default overwrite behavior. It ships with TypeScript definitions, making it well-suited for modern JavaScript and TypeScript projects.

total hits 12
actors 6 distinct systems
last hit 6d ago MetaBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany