# mariocasciaro/object-path

A tiny JavaScript utility to access deep properties using a path (for Node and the Browser)

Repository: https://github.com/mariocasciaro/object-path
Canonical: https://ross.abutalabs.com/products/object-path
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-01-06T15:12:32+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4731, "days_push": 1335, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1062, forks 86 (observed 2026-08-28T04:03:26.060468+00:00)

## What it is
A tiny JavaScript utility for accessing, setting, and manipulating deep properties of nested objects using path strings or arrays. It works in both Node.js and the browser and includes protections against prototype pollution.

## Use cases
- get a deeply nested property from a JavaScript object using a dot path
- set a value deep inside a nested object without checking each level
- safely delete or empty nested object properties
- access object keys containing dots or unicode characters
- push values into arrays nested deep within objects

## When to choose
- you need safe deep property access on plain JavaScript objects in Node or the browser
- you want a tiny, dependency-free utility with prototype-pollution protections
- your object keys contain dots or other characters that break naive path splitting

## When to avoid
- you only need simple top-level property access
- you are already using a larger utility library like lodash that covers the same need
- you need immutable or functional-style object updates

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: developer-tools, web-development
- platform: browser
- tags: object-path, deep-access, dot-notation, utility, javascript, nodejs

## Member repositories
- mariocasciaro/object-path (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.060468+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:56:45.525223+00:00, confidence not recorded.
  - readme: https://github.com/mariocasciaro/object-path (fetched 2026-08-28T04:03:26.060468+00:00, sha 9e0633f22ce1)
  - registry_npm: https://registry.npmjs.org/object-path (fetched 2026-08-29T12:58:22.167770+00:00, sha 9190b254b4a8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
