1.2.7 • Published 6 years ago
enhanced-key-value-object v1.2.7
enhanced-key-value-object
Enhanced key-value object with safe property access and immutable modications.
To use this object:
import {EKVObject} from 'enhanced-key-value-object';
/// Note that we only expose the object interface for better encapsulation.
let object: EKVObject.Type = EKVObject.empty();
To access the value at any node, use:
object.valueAtNode(string);
The parameter of this function should be a String whose components are joined with the specified pathSeparator (which is by default '.'). For example:
object.valueAtNode('a.b.c.d.e');
In order to update the value at some node, call:
object.updatingValue(string, Never<any>);
The object will update the value at that node, and if necessary create new objects along the way.
1.2.7
6 years ago
1.2.6
6 years ago
1.2.5
6 years ago
1.2.4
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago