json-yaml (npm): allows you to parse a string or read a file without caring whether it is JSON or YAML
Keywords: json|yaml|config