Specla dot-string
Manage array items or object properties with dot notation strings.
Install
npm install @specla/dot-string
Usage
import { get, set } from '@specla/dot-string'
// Get an array item or object property with dot string syntax
const value = get(obj, 'key.item')
// Mutate array item or object property
set(obj, 'key.item', 'some value...')