1.0.0 • Published 5 years ago
@hugohammarstrom/gutenberg-parser v1.0.0
Gutenberg Parser
A npm module that parses gutenberg data built on Ivan Enderlin´s project gutenberg-parser-rs
Install
$ npm i @hugohammarstrom/gutenberg-parser
Usage
const parser = require("./lib").default;
(async function() {
const res = await parser.root(
"<!-- wp:html --><p>HTML TEXT</p><!-- /wp:html -->"
);
console.log(res);
})();