Author Topic: How to parse YAML using JavaScript?  (Read 2146 times)

ea0522

  • EA User
  • **
  • Posts: 134
  • Karma: +5/-0
    • View Profile
How to parse YAML using JavaScript?
« on: August 28, 2024, 08:57:08 pm »
Would it be possible to parse a YAML file using JavaScript?

I can read the file contents, that's easy.
I know how to parse JSON using the built-in JSON library.
Just wondering whether there is a similar library for YAML?

Alternatively, is there an option to include a Node.js library which is capable of doing what I need?