npm.io
0.0.1 • Published 13 years ago

special-html

Licence
MIT
Version
0.0.1
Deps
0
Vulns
0
Weekly
0
Stars
5

special-html

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

Installation

$ npm install special-html

Usage

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)

Keywords