special-html

0.0.1 • Public • Published

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)

/special-html/

    Package Sidebar

    Install

    npm i special-html

    Weekly Downloads

    5,560

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • hughsk