Safely wrap some text in a JavaScript comment, escaping close `*/` sequences.
npm install wrap-commentSafely wrap some text in a JavaScript comment, escaping close */ sequences.
Useful if you're commenting text in some source code.
``bash`
npm install wrap-comment
`js``
var wrapComment = require('wrap-comment')
wrapComment('some text')
// → '/ some text /'
wrapComment('tricky / text /')
// → '/ tricky / text \/ /'