Testing with : Removes all space from string
$ npm install @riouxjean/test
const test = require("@riouxjean/test");
test("GOOGL");
// => Position {
// earnings: 1228000000,
// outstanding: 318100000,
// revenue: 39403000000,
// cashs: 2240000000,
// div: -505000000,
// liabilities: 9147000000,
// intangibleassets: undefined,
// totalassets: 13856000000,
// shareprice: 49.15 }
test(1423);
//=> I need a string!
Incredible Medium article by Freecodecamp written by Jonathan Wood @bamblehorse