@m59/yaml-to-json (npm): pipe yaml to stdin, get json from stdout, or pass a src directory of yaml files (recursive) and a dest directory for json files.
Keywords: yaml|json|dir|directory|pipe|stdin|stdout|simple|recursive