auto-parse
auto-parse copied to clipboard
auto-parse any value you happen to send in (String, Number, Boolean,Array, Object, Function, undefined and null). You send it we will try to find a way to parse it.
Right now, comma numbers string are not parsed to number **Current Behavior** ``` autoParse('385,134') // => '385,134' ``` **Expected Behavior** ``` autoParse('385,134') // => 385134 ``` **Why** This is happening...
Create options that allow acceptable types
## Current Behavior `console.log(autoParse("0000035")) => 35`