typographic-orphan

Eliminates orphans in blocks of text.

Usage no npm install needed!

<script type="module">
  import typographicOrphan from 'https://cdn.skypack.dev/typographic-orphan';
</script>

README

typographic-orphan

NPM version Build Status Coveralls Status Dependency Status DevDependency Status

Your call

Micro module to help eliminate one of the bad typewriter habits.

Install

npm install --save typographic-trademark

Usage

var trademark = require('typographic-orphan');

trademark(`hello world this is a somewhat long sentence`); // hello world this is a somewhat long\u00A0$1sentence

License

MIT © Benjamin Sehl

Credits

Inpsired by @iamstarkov