# developit/dlv

Safe deep property access in 120 bytes. x = dlv(obj, 'a.b.x')

Repository: https://github.com/developit/dlv
Canonical: https://ross.abutalabs.com/products/dlv
Homepage: https://npm.im/dlv
Language: JavaScript
License Family: other
Topics: object, javascript, key, dlv
Last push: 2020-12-13T17:19:09+00:00

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

## Adoption (not part of the score)
Stars 1251, forks 37 (observed 2026-08-28T04:04:08.231852+00:00)

## What it is
dlv is a 120-byte JavaScript utility for safely accessing deeply nested object properties via dot-notation key paths, with optional default values. It supports ES Modules, CommonJS, and globals.

## Use cases
- safely access nested object properties without errors
- get a value from a deep key path with a fallback default
- avoid undefined errors when traversing missing keys
- tiny dependency-free deep property getter for JavaScript

## When to choose
- you need minimal-bundle-size deep property access in JavaScript
- you want a tested, dependency-free getter with default value support

## When to avoid
- you need to set nested properties (use dset instead)
- you need TypeScript type-safe path access

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

## Member repositories
- developit/dlv (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:08.231852+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-30T05:07:39.082814+00:00, confidence not recorded.
  - readme: https://github.com/developit/dlv (fetched 2026-08-28T04:04:08.231852+00:00, sha 0edf6fd13ff0)
  - registry_npm: https://registry.npmjs.org/dlv (fetched 2026-08-29T12:18:28.488087+00:00, sha 2a2d02d6340c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
