To then include isnumeric in your node app:
Download the minified version here, reference the js file and isNumeric will become a global variable.
Essentially, this is it:
The first line of the function could be omitted if you weren’t concerned with supporting comma decimals (e.g. “1,1”) like in some countries.
There are currently 64 tests! so it’s pretty well tested. I certainly win the award for smallest amount of code with most amount of tests :)
Any disagreements or improvements please pull request.