repl.it
@remarkablemark/

html-react-parser

Nodejs

https://github.com/remarkablemark/html-react-parser

fork
loading
Files
  • index.js
  • Packager files
  • package.json
index.js
1
2
3
4
5
6
7
8
/**
 * @see https://github.com/remarkablemark/html-react-parser
 */
const parse = require('html-react-parser');

const output = parse('<h1>Hello, world!</h1>');

console.dir(output, { depth: null });