mutation-js
v0.0.6
Published
Easy object mutation
Downloads
21
Maintainers
Readme
Mutation
Allows for declarative mutation of JavaScript objects. Is extremely useful for mutating things like default values and configuration objects. Works by recursing over a target object and applying any mutation directives it finds in the source object.
Website
Visit the website for usage, examples and annotated source code.
Development
Tests and Coverage
To generate a test and coverage report for mutation.js:
gruntTo test lodash.mutation.js
grunt lodashDocumentation
To generate documentation from source code.
grunt docsTo create a gh-pages branch from generated docs
grunt publishDocsContribution
This is very much a work in progress. There is a lot of scope for performance improvements and additional operators if need be. Please feel free to contribute. Happy to see PRs!
