# gulp-eol

> Replace or append EOL end of file

Latest version **0.2.0** (published 2018-01-17) · 0 weekly downloads

## Install

```sh
npm install gulp-eol
pnpm add gulp-eol
yarn add gulp-eol
bun add gulp-eol
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2018-01-17 |
| First published | 2014-05-21 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Maintainers | fritx |
| Keywords | gulpplugin, eol, crlf, newline |

## Links

- npm: https://www.npmjs.com/package/gulp-eol
- Repository: https://github.com/fritx/gulp-eol
- Issues: https://github.com/fritx/gulp-eol/issues
- npm.io page: https://npm.io/package/gulp-eol

## Dependencies (2)

- [through2](https://npm.io/package/through2.md) ~0.4
- [plugin-error](https://npm.io/package/plugin-error.md) ~1.0

## Recent versions

- 0.2.0 (latest) — 2018-01-17
- 0.1.2 — 2016-04-26
- 0.1.1 — 2014-09-06
- 0.1.0 — 2014-09-06
- 0.0.1 — 2014-05-21

## README

<a href="https://www.npmjs.com/package/gulp-eol"><img width="134" height="20" src="https://img.shields.io/npm/dm/gulp-eol.svg"></a>&nbsp;&nbsp;<a href="https://github.com/fritx/gulp-eol"><img width="78" height="20" src="http://img.shields.io/badge/license-MIT-blue.svg"></a>

## Information

<table>
  <tr>
    <td>Package</td><td>gulp-eol</td>
  </tr>
  <tr>
    <td>Description</td>
    <td>Replace or append EOL end of file</td>
  </tr>
</table>

## 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`

```javascript
var eol = require('gulp-eol');

gulp.task('eol', function() {
  return gulp.src('./lib/*.js')
    .pipe(eol())
    .pipe(gulp.dest('./lib/'));
});
```

---
_Source: https://npm.io/package/gulp-eol · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
