YAML handling components for NoFlo
yaml/ExtractFrontmatter— splits a document into Front Matter head and bodyyaml/ParseYaml— parses YAML into a JavaScript objectyaml/ToYaml— serializes a JavaScript object to YAMLyaml/ToFrontmatter— joins head and body into a Front Matter documentyaml/ParseFrontmatter(graph) — parses a Front Matter document into an object with head, body, and filename grouping; requiresnoflo-core,noflo-groups,noflo-strings, andnoflo-objectsat their 2.x versions to be usable
Components are discovered automatically by NoFlo 2.x on Node.js. Example in FBP:
ReadFile(files/ReadFile) OUT -> IN Parse(yaml/ParseYaml)
'server: { port: 8080 }' -> IN Parse
Install dependencies and run the test suite:
npm ci
npm test