postcss-eol 
PostCSS plugin replaces or appends EOL of files.
PostCSS fork of gulp-eol
Install
npm install --save-dev postcss-eolUsage
eol(newline, append)
- newline: [string]
\n,\r\nor defaultos.EOL - append: [boolean] whether to append eol end of file if not any, default
true
postcss([ require('postcss-eol') ])See PostCSS docs for examples for your environment.