front-matter-stream
Stream a file and capture YAML front matter separately from content:
const fs = const fm = var stream = fs // or pipe just the content to another streamstream // or use concat-stream to collect the rest of the dataconst concat = stream
Installation
npm install --save front-matter-stream