Package Exports
- dot-access
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 (dot-access) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
dot-access
Access object properties using dot notation.
var dotAccess = require('dot-access');
var user = {
fullname: {
first: 'Joe',
last: 'M'
}
};
// get
dotAccess.get(user, 'fullname.first'); // 'Joe'
// or set
dotAccess.set(user, 'fullname.last', 'T'); // 'T'Installation
Install with component(1):
$ component install nthtran/dot-accessAPI
License
MIT