(filepath)
| 7 | * Read only the frontmatter from file |
| 8 | */ |
| 9 | export default async function fmfromf(filepath) { |
| 10 | let fileContent = await fs.readFile(filepath, 'utf8') |
| 11 | |
| 12 | fileContent = encodeBracketedParentheses(fileContent) |
| 13 | |
| 14 | return fm(fileContent, { filepath }) |
| 15 | } |
nothing calls this directly
no test coverage detected