0.0.5 • Published 6 years ago
@dust7.francis/tiny v0.0.5
@dust7francis/tiny
Replace two or more spaces to single space from a string.
Install
$ npm install dust7francis/tiny
Usage
const tiny = require("@dust7francis/tiny")
tiny("Too much space!");
// => "Too much space!"
tiny(123)
// => Uncaught TypeError: Tiny wants a string!
Tutorial
This repo is built after a 8 min read of How to make a beautiful, tiny npm package and publish it
LIcense
MIT