Released a npm package
https://www.npmjs.com/package/arr-fns