prewrap
v1.0.1
Published
> wrap a string in ```
Downloads
3
Readme
prewrap
wrap a string in ```
npm install prewrap --save
usage
const preWrap = require('prewrap')
const text = "a string to be wrapped"
const wrappedText = preWrap(text)
console.log(wrappedText)
// => "```\na string to be wrapped\n```"