Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khashayarsw/tiny
The tiniest npm module
https://github.com/khashayarsw/tiny
javascript npm-package
Last synced: 23 days ago
JSON representation
The tiniest npm module
- Host: GitHub
- URL: https://github.com/khashayarsw/tiny
- Owner: khashayarsw
- License: mit
- Created: 2020-03-23T09:33:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-28T17:26:19.000Z (over 4 years ago)
- Last Synced: 2024-11-16T20:48:11.188Z (about 1 month ago)
- Topics: javascript, npm-package
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @khashi/tiny
[![npm](https://img.shields.io/npm/v/@khashi/tiny?color=blue&label=npm%20)](https://www.npmjs.com/package/@khashi/tiny)
[![NPM](https://img.shields.io/npm/l/@khashi/tiny?color=blue)](https://www.npmjs.com/package/@khashi/tiny)Removes all spaces from a string.
## Install
```
$ npm install @khashi/tiny
```## Usage
```js
const tiny = require("@khashi/tiny");tiny("So much space!");
//=> "Somuchspace!"tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
// at tiny (:2:41)
// at :1:1
```
## License@khashi/tiny is released under the terms of the MIT License.