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
- Host: GitHub
- URL: https://github.com/mrseanbaines/tiny
- Owner: mrseanbaines
- License: mit
- Created: 2019-01-11T22:11:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T22:32:17.000Z (over 6 years ago)
- Last Synced: 2025-03-09T09:36:09.495Z (about 2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @mrseanbaines/tiny

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
```