# esformatter-limit-linebreaks

> esformatter linebreak limit plugin

Latest version **0.0.3** (published 2016-01-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install esformatter-limit-linebreaks
pnpm add esformatter-limit-linebreaks
yarn add esformatter-limit-linebreaks
bun add esformatter-limit-linebreaks
```

## 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.0.3 |
| Published | 2016-01-02 |
| First published | 2015-11-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Manuel Stofer |
| Maintainers | manuelstofer |
| Keywords | esformatter, esformatter-plugin, linebreak, limit-linebreak, AST |

## Links

- npm: https://www.npmjs.com/package/esformatter-limit-linebreaks
- Repository: https://github.com/manuelstofer/esformatter-limit-linebreaks
- Issues: https://github.com/manuelstofer/esformatter-limit-linebreaks/issues
- npm.io page: https://npm.io/package/esformatter-limit-linebreaks

## Dependencies (1)

- [rocambole-token](https://npm.io/package/rocambole-token.md) ^1.2.1

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2016-01-02
- 0.0.2 — 2015-11-25

## README

# esformatter-limit-linebreaks

[esformatter](https://github.com/millermedeiros/esformatter) plugin for limiting maximal consecutive line breaks globally.

## Usage

install it:

```sh
npm install esformatter-limit-linebreaks
```

and add to your esformatter config file:

```js
{
  "plugins": [
    "esformatter-limit-linebreaks"
  ],
  "LimitLineBreaks": 2  // defaults to 2
}
```

## Examples

input:

```js
function bla() {
  return 1;
}




function hello() {
  return 2;
}
```

output:

```js
function bla() {
  return 1;
}

function hello() {
  return 2;
}
```


## Options

"LimitLineBreaks":  Number of maximal consecutive line breaks

## License

Released under the [MIT License](http://opensource.org/licenses/MIT).

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