1 | # @bamblehorse/tiny
|
2 |
|
3 | [![npm (scoped)](https://img.shields.io/npm/v/@bamblehorse/tiny.svg)](https://www.npmjs.com/package/@bamblehorse/tiny)
|
4 | [![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@bamblehorse/tiny.svg)](https://www.npmjs.com/package/@bamblehorse/tiny)
|
5 |
|
6 | Removes all spaces from a string.
|
7 |
|
8 | ## Install
|
9 |
|
10 | ```
|
11 | $ npm install @bamblehorse/tiny
|
12 | ```
|
13 |
|
14 | ## Usage
|
15 |
|
16 | ```js
|
17 | const tiny = require("@bamblehorse/tiny");
|
18 |
|
19 | tiny("So much space!");
|
20 | //=> "Somuchspace!"
|
21 |
|
22 | tiny(1337);
|
23 | //=> Uncaught TypeError: Tiny wants a string!
|
24 | // at tiny (<anonymous>:2:41)
|
25 | // at <anonymous>:1:1
|
26 | ```
|