Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

postcss-eol

dichuvichkin30MIT0.0.8

Replace EOL of files

postcss, css, postcss-plugin, eol, crlf, new-line

readme

postcss-eol Build Status

PostCSS plugin replaces or appends EOL of files.

PostCSS fork of gulp-eol

Install

npm install --save-dev postcss-eol

Usage

eol(newline, append)

  • newline: [string] \n, \r\n or default os.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.

changelog