so-string

minimal for string.js

Usage no npm install needed!

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

README

so-string

Travis Build Status

The so-string is minimal version of string.js

Installation

npm i so-string

Usage

const s = require('so-string')

console.log(s('hello WORLD', 'slugify'))

// hello-world

console.log(s('The so-string is minimal version of string.js ', 'truncate', 20))

// The so-string is...

Thanks string.js

License

MIT