Is there an example of using parseDocument
to update the values in a yaml and then convert it back to a yaml string while preserving comments?
#538
-
Hi! Thank you so much for your work on this library. I am wondering if there are any code examples for doing the following (which I imagine is a fairly typical usecase)
I saw this lib: https://github.com/paul-soporan/enhanced-yaml is doing something similar but with a much older version of the library and using certain exports that are no longer available like Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
tyler-dunkel
Apr 25, 2024
Replies: 1 comment
-
Nvm I figured this out. If anyone else wants an example here ya go:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tyler-dunkel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nvm I figured this out. If anyone else wants an example here ya go: