express-expose
express-expose copied to clipboard
Expose arrays as proper arrays even when they are top level.
At the moment arrays become objects with indexes 0, 1, 2 etc. This isn't helpful if you then need to do things like iterate over them. This patch fixes that.
thanks! mind adding a test or two?
Done, I'm not sure how to run the tests though.
Please merge this!