@iml/deep-freeze

    2.0.2 • Public • Published

    deep-freeze

    Build Status

    Freezes an Object tree recursively. Does not detect cycles, so use this only on JSON like objects, not on a graph.

    Also, this is useful for testing to assert your objects are not being mutated. There are not many situations where you would want this code to create immutable objects in production.

    Keywords

    none

    Install

    npm i @iml/deep-freeze

    DownloadsWeekly Downloads

    3

    Version

    2.0.2

    License

    MIT

    Last publish

    Collaborators

    • iml-team
    • johnsonw
    • manager-for-lustre
    • jgrund