1.2.7 • Published 7 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
7 years ago
1.2.6
7 years ago
1.2.5
7 years ago
1.2.4
7 years ago
1.2.3
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.9
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.9
7 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago