Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/muath-ye/tiny
- Owner: muath-ye
- Created: 2021-02-15T20:07:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-02-15T20:28:11.000Z (over 3 years ago)
- Last Synced: 2024-09-23T04:48:42.976Z (about 2 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```