facebook/idx
Library for accessing arbitrarily nested, possibly nullable properties on a JavaScript object. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3473
- days_rel: n/a
- days_push: 966
- n_releases_24m: 0
Adoption not part of the score
1687 stars · 51 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
idx is a JavaScript utility for safely traversing arbitrarily nested, possibly nullable properties on objects and arrays, paired with a Babel plugin that compiles calls into efficient null checks. It is now deprecated in favor of native optional chaining.
Use cases
- safely access deeply nested properties that may be null or undefined
- avoid long chains of && guards when reading nested object data
- traverse nullable arrays and objects in React props
- get null-safe property access with Flow or TypeScript type checking
- replace verbose null checks in legacy JavaScript codebases
When to choose
- maintaining a legacy codebase that already uses idx and the Babel plugin
- working in an environment without optional chaining support and no upgrade path
- you need the specific behavior where an intermediate null value is returned rather than undefined
When to avoid
- starting a new project - use native optional chaining (?.) instead
- your runtime already supports optional chaining
- you need maintained software with ongoing support
Facets
library · maturity abandoned
developer-tools web-development frontend developer-tools browser optional-chaining null-safety babel-plugin deprecated flow typescript nodejs javascript
2 sources
- readme: https://github.com/facebook/idx · fetched 2026-08-28 · 2b74c8b8bdcb
- registry_npm: https://registry.npmjs.org/idx · fetched 2026-08-29 · 461da46859f8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebook/idx | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem