trimstart

Trim the start of a string.

Usage no npm install needed!

<script type="module">
  import trimstart from 'https://cdn.skypack.dev/trimstart';
</script>

README

trimstart

Trim the start of a string.

Usage

const trim = require('trimstart');

trim('    hello'); // 'hello'

trim('       padding be gone'); // 'padding be gone'

License

MIT