A library that allows you to easily access, set, delete, and check deeply nested properties in objects and arrays using string-based paths.
const obj = { foo: { bar: [1, 2, 3] } } // Get a valueget(obj, 'foo.bar[0]') // 1 // Set a valueset(obj, 'foo.bar[1]', 42) // obj.foo.bar[1] is now 42 // Delete a valuedel(obj, 'foo.bar[2]') // Removes obj.foo.bar[2] // Check if a path existshas(obj, 'foo.bar[0]') // true