drabs
v0.0.5
Published
Drips and drabs of helper utilities.
Downloads
6
Readme
drabs.js - NPM ready
Original code by joshuacc
Drabs is a collection of little JavaScript utilities that have their origin in the weekly A Drip of JavaScript newsletter.
The name is a pun on the (incorrect) phrase "drips and drabs", meaning little by little.
In addition to GitHub issues, discussion of Drabs is also welcome on the JS Drip Google Group.
How to use
Install via npm install drabs
or yarn add drabs
import {deepGet} from 'drabs';
let val = deepGet(obj, ["Viola", "Harry", "Sally"], {});
//or
let val = deepGet(obj, ["Viola.Harry.Sally"], {});
License
Drabs is released under the MIT license.