最佳实践:node.js 读取yaml文件node.读取yaml文件yml'的yaml配置文件3、读取配置文件代码:具体做法是将配置文件中的代码转换为jsonnode.yaml.parse(yamlString);file:load('file.file:load('file.parse(yamlString);YAML(default:2).(default:2).jsonjsonjson>ouput.json--depth8json--indentation4
继续阅读 »