Finell is a basic javascript space remover, I mean why create your own functions?
Use [NPM] (npmjs.org) to install this package
$ npm install @siska101/finell
const finell = require("@siska101/finell")
finell("S o m e t h i n g") // Code => "Something"