@eqpoqpe/parseobj
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @eqpoqpe/parseobj

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

4.8 kB

Total Files

9

Last publish

Collaborators

  • eqpoqpe