Package Exports
- get-value
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (get-value) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
get-value 
Use property paths (
a.b.c
) get a nested value from an object.
Install with npm
npm i get-value --save
Install with bower
bower install get-value --save
Usage
var get = require('get-value');
Examples
var obj = {
a: {b : {c: {d: 'foo'}}},
};
get(obj, 'a.b.c');
//=> {d: 'foo'}
get(obj, 'a.b.c.d');
//=> 'foo'
Related projects
Run tests
Install dev dependencies:
npm i -d && npm test
Author
Jon Schlinkert
License
Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb on February 22, 2015.