Package Exports
- react-native-html-string
- react-native-html-string/lib/commonjs/index.js
- react-native-html-string/lib/module/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-html-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-html-string
Convert your HTML content as input and efficiently converts it into a string representation, providing a convenient and straightforward method for handling HTML data within your applications.
Installation
npm install react-native-html-string
OR
yarn add react-native-html-stringUsage
import { convertHTML } from 'react-native-html-string';
// ...
const html = `<h1>Hey this is react native</h1>`;
const result = await convertHTML(html);Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT