0.0.2 • Published 10 years ago
wrap-string v0.0.2
Wrap String
Wrap a string with other strings.
Install
$ npm install --save wrap-stringUsage
var wrapString = require("wrap-string");
wrapString({
string: "Hello world",
prepend: "*",
append: "*"
})
//=> *Hello world*Test
$ npm test