{"library":"idx","type":"library","category":null,"description":"idx is a utility function designed for safely traversing deeply nested properties within JavaScript objects and arrays, where intermediate properties might be `null` or `undefined`. It provides a concise syntax for accessing values without throwing errors. The current stable version is 3.0.3. However, the `idx` package is officially deprecated and no longer maintained. Its primary use case has been superseded by the native JavaScript optional chaining operator (`?.`), introduced in ES2020. A key differentiator noted in its documentation is that `idx` returns the `null` or `undefined` intermediate value if encountered, whereas optional chaining resolves to `undefined`. This library also strictly requires a Babel plugin (`babel-plugin-idx`) for correct transformation and optimal performance, as the runtime function is illustrative and not meant for direct execution. The library does not follow a regular release cadence due to its deprecated status.","language":"javascript","status":"deprecated","version":"3.0.3","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install idx","imports":["import idx from 'idx';","import idx from 'idx';\n// ... then use idx(props, _ => _.prop)","plugins: [['babel-plugin-idx']]"]},{"cmd":"yarn add idx","imports":[]},{"cmd":"pnpm add idx","imports":[]}],"homepage":null,"github":"https://github.com/facebook/idx","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/idx","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/idx/compatibility"}}