yadf
v1.0.1
Published
Module allows you to freeze any object to prevent its edition
Downloads
8
Maintainers
Readme
deepfreeze
Description
Module allows you to freeze any object to prevent its edition. Based on Object.freeze
.
Usage
let someObject = {
key1: 'value',
key2: true,
keyObj: {
key3: 10,
key4: 'string'
}
};
deepfreeze(someObject);