Feature request: allow YAML for all files or implement a loader hook
- Dominant language
- JavaScript
- Stars
- 724
- Forks
- 150
- Avg merge
- 18h 22m
- Merged PRs (30d)
- 4
Description
For some parts you use already js-yaml, why not add an option to parse yaml files instead json?
The yaml files could then internally be transformed to json and parsed like json.
I think a fork to implement this feature is too much.
A loader hook would be a good thing too.
Currently i use a script to read all yaml files, transform them to json, write them to a temp dir where jsonschema2md can use it.
Contributor guide
Research direction
Start by reviewing the existing js-yaml usage and the input-loading path for files consumed by jsonschema2md. Clarify whether the intended outcome is YAML support for all files or an extensible loader hook; done should be defined as one of those approaches working without the temporary JSON conversion script.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100