##Underscore.get
Install from npm
npm install underscore.get
Require individual functions
const {get} = require("underscore.get");
get(obj, 'a[0].b', defaultValue);
Or use Mixin
const getMixin = require("underscore.get");
_.mixin(getMixin);
_.get(obj, 'a[0].b', defaultValue);
Or globally
*Note: this does not bundle underscore and must be included in your index.html after the underscore library.##Don't forget to star the github repository!