An open API service indexing awesome lists of open source software.

https://github.com/mrseanbaines/tiny

The tiniest npm module
https://github.com/mrseanbaines/tiny

Last synced: about 1 month ago
JSON representation

The tiniest npm module

Awesome Lists containing this project

README

        

# @mrseanbaines/tiny

![](https://img.shields.io/npm/v/@mrseanbaines/tiny.svg?style=for-the-badge)
![](https://img.shields.io/bundlephobia/min/@mrseanbaines/tiny.svg?style=for-the-badge)

Removes all spaces from a string.

## Install

```
$ npm install @mrseanbaines/tiny
```

## Usage

```js
const tiny = require("@mrseanbaines/tiny");

tiny("So much space!");
//=> "Somuchspace!"

tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (:2:41)
// at :1:1
```