util-string-wrap

string prefix, suffix, wrap, related functions

Usage no npm install needed!

<script type="module">
  import utilStringWrap from 'https://cdn.skypack.dev/util-string-wrap';
</script>

README

util-string-wrap

experimental

Small utility library implementing string prefixWith, suffixWith, wrapWith variations for testing, adding once, adding, removing of the corresponding construct.

defines:

  • `` -

Install

Use npm to install.

npm install util-string-wrap --save

Usage

NPM

License

MIT, see LICENSE.md for details.