breakwrap

breakwrap prevents wrapping by automatically breaking lines when they reach the edge of the screen.

Usage no npm install needed!

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

README

breakwrap

NPM

NPM version Build Status

breakwrap prevents wrapping by automatically breaking lines when they reach the edge of the screen.

Install

$ npm install breakwrap

Use

breakwrap automatically works once required and given an output stream (such as process.stdout).

require('breakwrap')(process.stdout)

License

MIT © Mike Groseclose