@bamblehorse/tiny
Version:
Removes all spaces from a string
27 lines (18 loc) • 598 B
Markdown
# @bamblehorse/tiny
[](https://www.npmjs.com/package/@bamblehorse/tiny)
[](https://www.npmjs.com/package/@bamblehorse/tiny)
Removes all spaces from a string.
## Install
```
$ npm install @bamblehorse/tiny
```
## Usage
```js
const tiny = require("@bamblehorse/tiny");
tiny("So much space!");
//=> "Somuchspace!"
tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (<anonymous>:2:41)
// at <anonymous>:1:1
```