sahmat
1.0.1 • Public • Published sahmat
simple getter and setter for deep objects
Installation
Usage
const sahmat = require('sahmat')
const obj = {
one: {
two: {
a: 1,
b: [3,4,5]
}
}
}
sahmat(obj, 'one.two.a')
sahmat(obj, 'one.two.b.2')
sahmat(obj, 'one', {})
sahmat(obj, 'one')
License
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
2
Version History
Package Sidebar
Install
Weekly Downloads