Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/next-html2text
Strip html to text for next.
https://github.com/afeiship/next-html2text
html html2text strip text
Last synced: 8 days ago
JSON representation
Strip html to text for next.
- Host: GitHub
- URL: https://github.com/afeiship/next-html2text
- Owner: afeiship
- License: mit
- Created: 2020-05-14T08:39:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T02:34:05.000Z (almost 4 years ago)
- Last Synced: 2024-12-10T10:25:24.012Z (12 days ago)
- Topics: html, html2text, strip, text
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-html2text
> Strip html to text for next.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```bash
npm install -S @jswork/next-html2text
```## usage
```js
import '@jswork/next-html2text';nx.html2text("
we'd|better|not.|I|don't|want|to|miss|the|train|.
")
// we'd|better|not.|I|don't|want|to|miss|the|train|.
```## license
Code released under [the MIT license](https://github.com/afeiship/next-html2text/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-html2text
[version-url]: https://npmjs.org/package/@jswork/next-html2text[license-image]: https://img.shields.io/npm/l/@jswork/next-html2text
[license-url]: https://github.com/afeiship/next-html2text/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-html2text
[size-url]: https://github.com/afeiship/next-html2text/blob/master/dist/next-html2text.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-html2text
[download-url]: https://www.npmjs.com/package/@jswork/next-html2text