@hugohammarstrom/gutenberg-parser
v1.0.0
Published
> A npm module that parses gutenberg data built on [Ivan Enderlin´s](https://github.com/Hywan) project [gutenberg-parser-rs](https://github.com/Hywan/gutenberg-parser-rs/releases)
Downloads
32
Readme
Gutenberg Parser
A npm module that parses gutenberg data built on Ivan Enderlin´s project gutenberg-parser-rs
Install
$ npm i @hugohammarstrom/gutenberg-parserUsage
const parser = require("./lib").default;
(async function() {
const res = await parser.root(
"<!-- wp:html --><p>HTML TEXT</p><!-- /wp:html -->"
);
console.log(res);
})();