0.2.9 • Published 6 years ago
underscore.get v0.2.9
##Underscore.get
Usage
For Node.js, Browserify and Webpack
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);
##Don't forget to star the github repository!