@lyra/mutator0.3.0 • Public • Published
- Lyra flavored jsonpath matching engine with flexible interface that plays
well with React
- An implementation of the mutation operations of Lyra that can be applied to
document representation you may require
- TODO: A model to track documents as they are mutated both locally and remotely
through the real time query feature of Lyra
- Note: If
patch.id doesn't match
document._id, the patch will be ignored
const document =
const patcher =
'a.b': 'My new value'
b: 'My new value'
npm i @lyra/mutator