Since v1.4.0 you have a 2nd optional parameter to prefer decimal separator instead of thousands separators (old standard, new default behaviour. See Issue #8 and test/floatify.js for details)
Since v1.3.0 floatify exports as function!
var floatify = require("floatify")
// old: floatify.floatify("123123.245346556")
// new:
floatify("123123.245346556")
var floatify = require("floatify")
floatify("123123.245346556")
>> 123123.245346556
floatify("123.242,5346556")
>> 123242.5346556
floatify("123,242.5346556")
>> 123242.5346556
floatify("123 242 123.7568")
>> 123242123.7568
for more detailed examples see Mocha Testcases in test/floatify.js
npm i floatify
yarn add floatify
git clone git@github.com:pocketrocket/floatify
git clone https://github.com/pocketrocket/floatify.git
Basic testing done, use npm test
or yarn test