Tuesday, 13 September, 2016 UTC


Summary

In this tutorial, we harness the power of YAML for use within Node.js. As described on the official YAML site, YAML (YAML Ain’t Markup Language) is a “human friendly data serialization standard for all programming languages”. YAML and JSON are closely related. In fact, all JSON syntax is valid YAML as of the YAML 1.2 spec, but not all YAML syntax is valid JSON. YAML is a superset of JSON. Why Use YAML in Node.js? In the world of Node, we spend a lot of time parsing JSON and using JSON as a syntax for configuration files often makes a lot of sense. For example, if we create a file Read More