UNPKG

@devtunnel/tiny

Version:

Removes all spaces from a string

22 lines (15 loc) 369 B
## @devtunnel/tiny Removes all spaces from a string. [![npm (scoped)](https://img.shields.io/badge/npm-v1.0.0-blue)](https://github.com/@devtunnel/tiny) ## Install ``` $ npm install @devtunnel/tiny ``` ## Usage ```js const tiny = require('@devtunnel/tiny') tiny('So much space!') // => 'Somuchspace!' tiny(1337) // => Uncaught TypeError: Tiny wants a string! ```