node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

unhtml

unhtml Build Status

Turn HTML-escaped characters and tags back into plain text.

Installation

npm install unhtml

Usage

require('unhtml')(string)

var unhtml = require('unhtml')
 
unhtml('<p>Hello &amp; World &#169;</p>') === "Hello & World ©"