html-react-parser

📝 HTML to React parser.

MIT License

Downloads
6.7M
Stars
2K
Committers
36

Bot releases are visible (Hide)

html-react-parser -

Published by remarkablemark almost 4 years ago

1.1.2 (2021-01-12)

Bug Fixes

  • index: include domhandler Node in DOMNode type (ac4aff3), closes #207
html-react-parser -

Published by remarkablemark almost 4 years ago

1.1.1 (2020-12-27)

Bug Fixes

html-react-parser -

Published by remarkablemark almost 4 years ago

1.1.0 (2020-12-26)

Features

  • index: export domhandler node types (dfa0c19)
html-react-parser -

Published by remarkablemark almost 4 years ago

1.0.0 (2020-12-14)

Build System

  • package: upgrade dependency html-dom-parser to 0.5.0 (5568ed7)

BREAKING CHANGES

  • package: upgrade dependency html-dom-parser to 0.5.0
html-react-parser -

Published by remarkablemark almost 4 years ago

0.14.3 (2020-12-12)

Bug Fixes

  • dom-to-react: transform style to object for Web Components (83efbce), closes #188
html-react-parser -

Published by remarkablemark almost 4 years ago

0.14.2 (2020-11-23)

Refactor

  • replace cssToJs with style-to-js & remove camelCase (a980df4)
html-react-parser -

Published by remarkablemark almost 4 years ago

0.14.1 (2020-11-03)

Build System

  • package: add react v17 to peerDependencies (7fa27b0)
html-react-parser -

Published by remarkablemark about 4 years ago

0.14.0 (2020-09-11)

Features

html-react-parser -

Published by remarkablemark over 4 years ago

0.13.0 (2020-06-07)

Features

  • dom-to-react: add option trim that skips whitespace nodes (413eaa0)
  • index: type trim in HTMLReactParserOptions (be71b13)
html-react-parser -

Published by remarkablemark over 4 years ago

0.12.0 (2020-06-04)

Features

  • index: add htmlparser2 type to HTMLReactParserOptions (81f74fb)
  • index: add options.htmlparser2 (c4ecf64)
html-react-parser -

Published by remarkablemark over 4 years ago

0.11.1 (2020-06-03)

Performance Improvements

  • index: return empty array if first argument is empty string (7f61f97)
html-react-parser -

Published by remarkablemark over 4 years ago

0.11.0 (2020-06-02)

Features

html-react-parser -

Published by remarkablemark over 4 years ago

0.10.5 (2020-05-26)

Tests

  • html-to-react: tidy and organize tests in html-to-react.js (8dfbfe0)

Build System

  • package: add missing peerDependency typescript (91fb693)
  • package: upgrade devDependencies (b2dc83b)
  • rollup: upgrade rollup, consolidate config, remove cross-env (55b2b4e)
html-react-parser -

Published by remarkablemark over 4 years ago

0.10.4 (2020-05-25)

Tests

  • attributes-to-props: test that CSS comment is not parsed (0c27987)
  • dom-to-react: tidy tests and add case for single node replace (452f6be)
  • tidy tests, replace assert.equal with assert.strictEqual (ef04eff)
html-react-parser -

Published by remarkablemark over 4 years ago

0.10.3 (2020-03-28)

Bug Fixes

  • update .d.ts docstrings (bae05c0)
  • use JSX.Element for type definitions (d8e2ada)
html-react-parser -

Published by remarkablemark over 4 years ago

0.10.2 (2020-03-13)

Bug Fixes

  • index: add default export for parser (6259959)

Tests

  • html-to-react: add test to ensure default export for parser (efba1d4)
  • html-to-react: have a stronger assert (064f0df)
html-react-parser -

Published by remarkablemark over 4 years ago

0.10.1 (2020-02-08)

Bug Fixes

  • index: make replace property optional in index.d.ts (801512b), closes #134
html-react-parser -

Published by remarkablemark over 4 years ago

0.9.1 (2019-07-09)

Build System

  • replace webpack with rollup in order to optimize bundle (a04ef27)
  • index: fix rollup error of mixing named and default exports (230de70)
html-react-parser -

Published by remarkablemark over 4 years ago

0.9.0 (2019-07-09)

Bug Fixes

  • attributes-to-props: handle attr named after Object properties (3f857bb)

Build System

  • package: update react-property to 1.0.1 (26ebef9)

Features

  • attributes-to-props: check for overloaded boolean values (1151cfb)
  • attributes-to-props: replace react-dom with react-property (d6274b9), closes #107

Tests

  • attributes-to-props: improve test names (17fbdfd)
html-react-parser -

Published by remarkablemark over 4 years ago

0.8.1 (2019-07-03)

Tests

  • html-to-react: update variable name to fix test (73237dd)
Package Rankings
Top 0.89% on Npmjs.org
Badges
Extracted from project README
NPM NPM version Bundlephobia minified + gzip Build Status codecov NPM downloads Discord Code Contributors Financial Contributors - Individuals Financial Contributors - Organization 0 Financial Contributors - Organization 1 Financial Contributors - Organization 2 Financial Contributors - Organization 3 Financial Contributors - Organization 4 Financial Contributors - Organization 5 Financial Contributors - Organization 6 Financial Contributors - Organization 7 Financial Contributors - Organization 8 Financial Contributors - Organization 9
Related Projects