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

https://github.com/nikfranki/tiny

🙃 Npm package - Remove all spaces from a string.
https://github.com/nikfranki/tiny

javascript license npm npm-pa shields

Last synced: 8 months ago
JSON representation

🙃 Npm package - Remove all spaces from a string.

Awesome Lists containing this project

README

          

# @franki/tiny

[![npm (scoped)](https://img.shields.io/npm/v/@franki/tiny.svg)](https://www.npmjs.com/package/@franki/tiny)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@franki/tiny.svg)](https://www.npmjs.com/package/@franki/tiny)

Removes all spaces from a string.

## Install

```
$ npm install @franki/tiny
```

## Usage

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

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

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