@eqpoqpe/parseobj
v0.0.1
Published
(md) => obj
Downloads
1
Readme
parseObj
(md) => obj
This library is used to parse Markdown text that contains metadata and content, and convert it into an object that contains the parsed result.
Installation
npm install @eqpoqpe/parseobj
Examples
const data: string = `---
name: Ryan Martin
description: 🎉
---
This is the content of the object.
It can span multiple lines.
`;
const authInfos = parseObj(data);