Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/muath-ye/tiny

A tiny npm package
https://github.com/muath-ye/tiny

Last synced: 6 days ago
JSON representation

A tiny npm package

Awesome Lists containing this project

README

        

![npm](https://img.shields.io/npm/v/@muath-ye/tiny?label=tiny%20version&logo=npm&style=flat-square)
[![npm developer name (Muathye)](https://img.shields.io/badge/Developer-Muathye-informational)](https://img.shields.io/badge/Developer-Muathye-informational)

Removes all spaces from a string.

## Install

```
$ npm install @muath-ye/tiny
```

## Usage

```js
const tiny = require("@muath-ye/tiny");

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

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