made value available from require, as well as set it globally in nodejs