YAML to Javascript POJO Generator

YAML to JavaScript classes

The YAML sample is parsed and each mapping becomes an ES class with a constructor that copies the fields from a loaded object and builds nested class instances. name: Ada / age: 36 gives class Root with this.name = data.name ?? null; and this.age = data.age ?? null;, typed as string and number in JSDoc.