This seems to wrap up use of `Object.defineProperty` quite nicely https://github.com/dominicbarnes/node-constants