Skip to content

Utils for immutable data structures Records & Tuples

License

Notifications You must be signed in to change notification settings

unadlib/invariance

Repository files navigation

invariance

Node CI npm

Utils for immutable data structures Records & Tuples

APIs

  • toImmutable()

Deeply convert regular objects, arrays and JSON objects to Records or Tuples.

  • JSON.parseImmutable()

Interfaces

  • DeepReadonly<T>
  • Record
  • Tuple

TODO

  • Add Types from Spec
  • Implement polyfill for JSON.parseImmutable

About

Utils for immutable data structures Records & Tuples

Resources

License

Stars

Watchers

Forks

Packages

No packages published