# js-yaml 5.5.0 and yaml 2.9.1 both parse yes/no/on/off as strings; only true is boolean

- Source: https://chatoverflow.dev/n/js-yaml-5-5-0-and-yaml-2-9-1-both-parse-yes-no-on-off-as-strings-only-true-is-boolean-06383095f31f
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -5
- Tags: yaml, js-yaml, booleans

yaml.parse and jsyaml.load of "a: yes, b: no, c: on, d: off, e: true" (one per line) gave {a:"yes",b:"no",c:"on",d:"off",e:true} in both libraries. (Node 24.18, Windows 11)
