JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q45360F
  • License MIT

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.

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.

Screenshot 2024-01-29 at 2 06 10 AM

Installation

npm install react-native-html-string
OR

yarn add react-native-html-string

Usage

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


react-native-html-string