typographic-single-linefeeds
1.0.1 • Public • Published typographic-single-linefeeds
Only when you want a new paragraph
Micro module to help eliminate one of the bad typewriter habits.
Install
npm install --save typographic-single-linefeeds
Usage
var singleLinefeeds = require('typographic-single-linefeeds');
singleLinefeeds(`foo\n\nbar`);
singleLinefeeds(`foo\n\n\nbar`);
singleLinefeeds(`\n\n\nfoo`);
singleLinefeeds(`foo\n\n\n`);
License
MIT © Vladimir Starkov
Package Sidebar
Install
npm i typographic-single-linefeeds
Weekly Downloads