@liveramp/typed-mutations
v1.0.3
Published
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=LiveRamp_typed-mutations&metric=coverage&token=037d2e2776461459f204d7848fda9b02ab5dd68b)](https://sonarcloud.io/dashboard?id=LiveRamp_typed-mutations)
Downloads
2
Readme
Typed Mutations
A lot of programming is merely translation between different structures. So, let's make that as painless as possible. Typed Mutations provides a simple syntax that lets you focus on behavior, rather than wrangling types.
It exposes two concepts, KeyValues
(for objects), and Collections
for arrays.
For examples of usage, check out the tests
For further explanation of behavior, check out the comments in src
Installation
If you'd like to fiddle around with it, try it out on RunKit!
This package is distributed using NPM. To use in your project:
npm install @liveramp/typed-mutations