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
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.1 | 2 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.1 | 2 | |
1.0.0 | 0 | |
0.0.1 | 0 | |
Package Sidebar
Install
npm i typographic-single-linefeeds
Weekly Downloads