replace_tag

replace html tag without use regex or xregex in JavaScript

npm install replace_tag
4 downloads in the last month

replace_tag

===========

replace html tag without use regex or xregex in Node.js module

Install

  npm install replace_tag

Or from source:

  git clone git://github.com/narsic/replace_tag_node.js.git replace_tag 
  cd replace_tag_node.js
  npm link

Simple to use

var replaceTag = require('replace_tag');
var replacedHtml = replaceTag('html code', 'tag name', replaceAllTag(true||false));
npm loves you