OYAML: One-line YAML
OYAML is a YAML-like notation syntax for objects with very flexible whitespace. It's relatively human-readable and human-writable, while being compatible with a one-line-per-record data format, much like JSON Lines.
Installation
npm install oyaml
Usage
const parse stringify = const str = 'message:hi "longer message":"Hello there!" number:4.3 list:[a, b, thing:stuff]'const obj = /** { "message": "hi", "longer message": "Hello there!", "number": 4.3, "list": [ "a", "b", { "thing": "stuff" } ]}**/ const oyaml = // message:hi "longer message":"Hello there!" number:4.3 list:[a, b, thing:stuff]