1.0.2 • Published 5 years ago
@derkrisz/removewhitespace v1.0.2
@derkrisz/removewhitespace
Removes all spaces from a string.
Install
$ npm install @derkrisz/removewhitespace
Usage
const removewhitespace = require("@derkrisz/removewhitespace");
removewhitespace("Remove whitespace from this!");
//=> "Removewhitespacefromthis!"
removewhitespace(1234);
//=> TypeError: Provide a string!