brainmatter
v0.1.0
Published
Extract frontmatter data from markdown and HTML files
Downloads
7
Readme
Brainmatter
Extract frontmatter data from markdown and HTML files.
Install
npm i brainmatter
Usage
const brainmatter = require('brainmatter')
const content = read('markdown.md')
const { html, data } = brainmatter(content)
MIT Licensed. Enjoy!