Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stagas/deep-mutate-object
Deep traverse walk and mutate object keys and/or values.
https://github.com/stagas/deep-mutate-object
Last synced: 14 days ago
JSON representation
Deep traverse walk and mutate object keys and/or values.
- Host: GitHub
- URL: https://github.com/stagas/deep-mutate-object
- Owner: stagas
- License: mit
- Created: 2022-07-19T21:22:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-29T22:00:40.000Z (over 2 years ago)
- Last Synced: 2024-10-13T11:27:22.465Z (about 1 month ago)
- Language: TypeScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
deep-mutate-objectDeep traverse walk and mutate object keys and/or values.
npm i deep-mutate-object
pnpm add deep-mutate-object
yarn add deep-mutate-object
## API
#
deepMutate
(obj, walkFn) src/deep-mutate-object.ts#L1
deepMutate(obj, walkFn) =>
- any
## Contributing
[Fork](https://github.com/stagas/deep-mutate-object/fork) or [edit](https://github.dev/stagas/deep-mutate-object) and submit a PR.
All contributions are welcome!
## License
MIT © 2022 [stagas](https://github.com/stagas)