Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuchk4/mutations
Transforms js objects using specified rules
https://github.com/tuchk4/mutations
Last synced: 20 days ago
JSON representation
Transforms js objects using specified rules
- Host: GitHub
- URL: https://github.com/tuchk4/mutations
- Owner: tuchk4
- Created: 2014-07-29T18:31:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-24T10:02:46.000Z (over 7 years ago)
- Last Synced: 2024-10-11T00:29:00.741Z (about 1 month ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TODO:
- DONE* redev mutate main loop
- Maybe implement rule execution as they were defined? Not by priority
- Remove fields (or ignore) at .convert function?
- Fix broadcast# Mutate javascript objects and arrays
# Ideas
Maybe implement rule execution as they were defined? Not by priority
# Documentation
- How to use?
- Rules
- Priorities
- Tests
- Custom methods
- Creating your own rules# How to use?
# Rules
## 1. Add
## 2. Concat
## 3. Def
## 4. Map
## 5. Rename
## 6. Each
## 7. Convert
## 8. Copy# Priorities
- `add` 0
- `concat` 5
- `def` 10
- `mpa` 20
- `rename` 30
- `each` 40
- `convert` 60
- `copy` 70Maybe implement rule execution as they were defined? Not by priority?
# Tests
# Custom methods
# Creating your own rules