Which libraries should I be using and is there any sample code to show example usage?
sorry for answering an old post, but I bumped into the same problem as you.
Hope it helps somebody :)
Here is one that I found. Not sure of how much of the spec this meets, but it suited my needs.
js-yaml works fine in Safari, Chrome and Firefox on OSX. Here is an example :
©2020 All rights reserved.