0.0.1 • Published 10 years ago
html-enclose v0.0.1
html-enclose
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
0.0.1
10 years ago