0.0.1 • Published 11 months ago

@eqpoqpe/parseobj v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

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);
0.0.1

11 months ago