nest_keys
CRUD nested keys on JavaScript object.
Example
var NestedKeys = ; var obj = "key_string" : "val_string" "key_array" : "value_array_first" "key_object_1" : "foo" : "bar" "key_object_2" : "foo" : "bar" ; // get.APINestedKeys // "val_string"NestedKeys // "bar"NestedKeys // "value_array_first", so does Array index. // del.APINestedKeys // trueNestedKeys // false // set.API// exists.API// Just as you expected.
See more in test cases.
INSTALL
npm install nested-keys -g --verbose
License
MIT. David Chen @ 17zuoye.