No reason to suspect this wouldn't work with any node version.
require does all this for .json files anyway
codes.200 isn't valid JavaScript
Merge pull request #2 from timoxley/feature/simplify

simplify