immutable-deep-freeze
v1.0.0
Published
Create a deep frozen object and not mutate input object
Downloads
4
Readme
deep-freeze
Create a deep frozen object and not mutate input object
example
const deepFreeze = require('immutable-deep-freeze');
const input = [1, 2, { x: 1, y: { z: 2 } }];
deepFreeze(input);
license
ISC