yaml-parser convert yaml file to javascript object
I referred to the following link
https://codingchallenges.fyi/challenges/challenge-yaml
Currently, only the following types are supported.
name: Coding Challenges
challenge:
name: YAML Parser{
"name": "Coding Challenges",
"challenge": {
"name": "YAML Parser"
}
}number: 1{
"number": 1
}isGood: true
isNotGood: false{
"isGood": true,
"isNotGood": false
}good: null{
"good": null
}message: >
this is an example
yaml parser{
"message": "this is an example\nyaml parser"
}