Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
/ typed-mutations Public archive

Lazy, typed mutations on arbitrary objects and collections

License

Notifications You must be signed in to change notification settings

LiveRamp/typed-mutations

Repository files navigation

Typed Mutations

Coverage

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

About

Lazy, typed mutations on arbitrary objects and collections

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages