html-enclose

v0.0.1
Enclose the string HTML tag
html tag

html-enclose Build Status

Enclose the string HTML tag

Installation

$ npm install html-enclose

Example

var enclose = require('html-enclose');

var str = "sample string";

enclose(str, 'p');
/*
 *  <p>sample string</p>
 */

License

The MIT License (MIT)

Copyright (c) 2014 Masaaki Morishita

npm i html-enclose

Metadata

  • MIT
  • Whatever
  • Masaaki Morishita
  • released 6/1/2014

Downloads

Maintainers