Convert to a module for node.