Package Exports
- html2plaintext
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 (html2plaintext) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
html2plaintext
convert html-formatted text to plaintext
- strip tags
- treat whitespace like a browser
- decode html entities
usage
var h2p = require('html2plaintext')
h2p('<p>Hello,\n & <em>how are you?</em></p>')
// => "Hello, & how are you?"installation
$ npm install html2plaintextrunning the tests
From project root:
$ npm install
$ npm testcontributors
jden jason@denizac.org
license
MIT (c) 2013 Agile Diagnosis hello@agilediagnosis.com