max-mapper / max-mapper/trim-object-stream
Case convesion
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
I'm in the need of a module that would do something very similar to what trim-object-stream does, but for converting cases. I read from CSV into JSON, and that gives me {"KEYS LIKE": "this"}, and I need them to be {"keys_like":"this"}.
So, I was wondering if this is an extension you'd accept a PR for. Given that this is a command line app, maybe providing something like --case=[camel | snake | …] and using https://github.com/nbubna/Case, for example, behind the scenes...
Let me know.
Cheers!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the command-line entry point and the existing trim-object-stream behavior, then assess how CSV-to-JSON key conversion would fit. Clarify the supported case names and expected handling of nested or unchanged keys; done means the selected case option converts the relevant JSON keys and has documented, tested behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100