Search results

15 packages found

Codemod to migrate from Lodash get and logical and expressions to optional chaining

published version 1.7.0, 3 years ago0 dependents licensed under $MIT
48,326

typescript and null safe json object navigation

published version 5.1.1, 2 years ago1 dependents licensed under $MIT
4,814

Type safe deep object selector

published version 1.0.8, 5 years ago1 dependents licensed under $MIT
1,242

A typesafe way to get nested properties when any parent property might be undefined, while we wait for the optional chaining operator to finally exist

published version 2.1.2, 6 years ago0 dependents licensed under $MIT
155

Safe navigation of objects (avoid null pointer exceptions / avoid TypeError cannot access property 'x' of undefined)

published version 1.3.0, 8 years ago1 dependents licensed under $MIT
31

A lib to provide type-safe optional chaining on arbitrary union types

published version 1.0.0, a year ago0 dependents licensed under $MIT
25

Type safe deep object selector

published version 1.0.0, 6 years ago0 dependents licensed under $MIT
29

Small and typesafe object property navigation for TypeScript and Flow

published version 2.0.3, 7 years ago0 dependents licensed under $MIT
20

Add '?.'(optional chaining) automatically to codes and transform them with babel-plugin-optional-chaining

published version 0.0.9, 6 years ago0 dependents licensed under $MIT
9

Safe navigation using ES2015 Proxies

published version 1.0.1, 6 years ago0 dependents licensed under $MIT
7

Type safe deep object/array reader

published version 1.0.7, 6 years ago0 dependents licensed under $MIT
5

Transform optional chaining operators into a series of logical checks

published version 1.0.1, 5 years ago0 dependents licensed under $MIT
5

Determine if object or array path is valid.

published version 3.0.0, 5 years ago0 dependents licensed under $ISC
4

Get or call functions inside an object that might not have it

published version 1.0.1, 6 years ago0 dependents licensed under $ISC
3

Determine if the JS environment has optional chaining support

published version 1.0.1, 3 years ago0 dependents licensed under $MIT
3