# newline-remove

> Strip all newlines from the given string.

Latest version **1.0.2** (published 2014-10-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install newline-remove
pnpm add newline-remove
yarn add newline-remove
bun add newline-remove
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2014-10-04 |
| First published | 2014-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/newline-remove) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Maintainers | yoshuawuyts |
| Keywords | line ending, newline, remove, strip |

## Links

- npm: https://www.npmjs.com/package/newline-remove
- Repository: https://github.com/yoshuawuyts/newline-remove
- Issues: https://github.com/yoshuawuyts/newline-remove/issues
- npm.io page: https://npm.io/package/newline-remove

## Recent versions

- 1.0.2 (latest) — 2014-10-04
- 1.0.1 — 2014-10-04

## README

# newline-remove
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Downloads][downloads-image]][downloads-url]

Strip all newlines from the given string. Supports linux, osx and windows line
endings.

## Installation
```bash
$ npm i --save newline-remove
```

## Overview
```js
var removeNewline = require('newline-remove');

removeNewline('foo\n bar\n');
// => 'foo bar'
```

## License
[MIT](https://tldrlegal.com/license/mit-license) ©
[yoshuawuyts](http://yoshuawuyts.com/)

[npm-image]: https://img.shields.io/npm/v/newline-remove.svg?style=flat-square
[npm-url]: https://npmjs.org/package/newline-remove
[travis-image]: https://img.shields.io/travis/yoshuawuyts/newline-remove.svg?style=flat-square
[travis-url]: https://travis-ci.org/yoshuawuyts/newline-remove
[coveralls-image]: https://img.shields.io/coveralls/yoshuawuyts/newline-remove.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/newline-remove?branch=master
[downloads-image]: http://img.shields.io/npm/dm/newline-remove.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/newline-remove

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