JS-YAML.JS(1)

πŸ“¦
version 4.2.0+~4.0.9 Β· 4 versions
, in ubuntu stonking

πŸ’– JS-YAML.JS β€” bestie edition πŸ’–

okay so you found the js-yaml.js manual page, and honestly? iconic. this is the JavaScript YAML parser and dumper, and yes it does both β€” it parses YAML into stuff, and it dumps stuff back out as YAML. main character energy fr fr.


🌸 NAME 🌸

js-yaml.js β€” JavaScript YAML parser and dumper πŸ¦‹

like. the whole vibe is in the name. no cap.


✨ DESCRIPTION ✨

here's the tea, bestie β€” the way you actually run this thing is:

usage: js-yaml [-h] [-v] [-c] [-t] [file]

that's it. that's the whole incantation. take a sec, breathe it in 🫢

πŸŽ€ positional arguments

  • file β€” the file you want it to read. key detail: it's utf-8 encoded, without BOM. so no byte-order mark, okay? it's giving "clean utf-8 or nothing". πŸ’…

⭐ optional arguments

  • -h, --help β€” shows the help message and then exits. your lil "what do i even do here" button. πŸ™ˆ
  • -v, --version β€” shows the program's version number and exits. perfect for when you need to know exactly which era of js-yaml you're living in. πŸ‘‘
  • -c, --compact β€” displays errors in compact mode. less noise, more "okay but what broke". πŸ’€
  • -t, --trace β€” shows the stack trace when there's an error. this is the deep-cut, show-me-everything mode, for when you truly need to know where it all went wrong. πŸ”₯
ngl, if something explodes and -c isn't enough for you, that's your sign to add -t. bestie behaviour.

πŸ’œ AUTHORS πŸ’œ

crediting the legends, periodt:

  • js-yaml was primarily authored by Vladimir Zapparov
  • with contributions from Aleksey V Zapparov, Vitaly Puzrin, and Martin Grenfell 🌈

they built the whole thing. we simply benefit. obsessed with them tbh.


and that's the page!! this lil guy is js-yaml.js version 4.2.0, dated August 2026, from back when JS-YAML.JS(1) was the manual page in question. go forth and parse (and dump) your YAML, bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from