Export and require non-public Node.js module definitions