special-html

Convert special UTF-8 characters in a string to their HTML escape code equivalents.

special-html

Converts special UTF-8 characters in a string to their HTML escape code equivalents.

$ npm install special-html
var special = require('special-html')
  , original = '├── http-browserify@0.1.6 (concat-stream@0.0.8)'
 
console.log(special(original))
// ├── http-browserify@0.1.6 (concat-stream@0.0.8)