# no-whitespace

> Remove absolutely all whitespace from a string.

Latest version **1.0.0** (published 2016-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install no-whitespace
pnpm add no-whitespace
yarn add no-whitespace
bun add no-whitespace
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-05-02 |
| First published | 2016-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Michael Wuergler |
| Maintainers | radiovisual |
| Keywords | string, from, characters, chars, spaces, space, whitespace, all, forbid, extract, erase, delete, remove |

## Links

- npm: https://www.npmjs.com/package/no-whitespace
- Repository: https://github.com/radiovisual/no-whitespace
- Homepage: https://github.com/radiovisual/no-whitespace#readme
- Issues: https://github.com/radiovisual/no-whitespace/issues
- npm.io page: https://npm.io/package/no-whitespace

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-05-02

## README

# no-whitespace [![Build Status](https://travis-ci.org/radiovisual/no-whitespace.svg?branch=master)](https://travis-ci.org/radiovisual/no-whitespace)

> Remove absolutely all whitespace from a string.


## Install

```
$ npm install --save no-whitespace
```


## Usage

```js
const noWhitespace = require('no-whitespace');

noWhitespace('\n\r\t unicorns & rainbows! amaze! \n\r\t');
//=> 'unicorns&rainbows!amaze!'
```


## API

### noWhitespace(input, [options])

Returns a string with all whitespace characters removed. 

#### input

*Required*  
Type: `string`

The string you want to remove all whitespace characters from.



## Related

- [selective-whitespace](https://github.com/radiovisual/selective-whitespace) Condense all whitespace in a string, with options to preserve specific whitespace characters.


## License

MIT © [Michael Wuergler](http://numetriclabs.com)

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