stay hungry stay foolish
$ yarn add yamljs
import YAML from 'yamljs'; import data from 'data.yml'; const json = YAML.load(data);
// parse YAML string nativeObject = YAML.parse(yamlString); // Generate YAML yamlString = YAML.stringify(nativeObject, 4);