noeol

A tiny utility that pipes stdin to stdout, but leaves out the trailing newline if there is one.

Usage no npm install needed!

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

README