npmjs.org : @bitty/get
A really small and type-safe (requires TypeScript >= 4.1.3) function, that gets a nested value from an object using a path string (like 'a.b[0].d'). If value is 'undefined' or unreachable returns the placeholder instead.
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/%40bitty/get
Keywords:
get
, key
, nested
, object
, path
, paths
, prop
, properties
, property
, props
, segment
, value
, values
, ava
, deep
, deep-properties
, deep-property
, dot-notation
, dot-prop
, dot-properties
, get-deep
, javascript
, nested-objects
, nested-properties
, object-path
, property-accessors
, typescript
License: MIT
Latest release: 3 months ago
First release: almost 4 years ago
Namespace: bitty
Dependent packages: 1
Downloads: 38 last month
Stars: 19 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago