node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

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 ©"