README
STRMin
[js] Simple minify (Remove new lines and multiple spaces).
Install
npm install kc-strmin
Use
var strmin = require('kc-strmin');
var str = strmin(`
Hello world
This is my
content.
`);
console.log(str);
[js] Simple minify (Remove new lines and multiple spaces).
<script type="module">
import kcStrmin from 'https://cdn.skypack.dev/kc-strmin';
</script>
[js] Simple minify (Remove new lines and multiple spaces).
npm install kc-strmin
var strmin = require('kc-strmin');
var str = strmin(`
Hello world
This is my
content.
`);
console.log(str);