Demonstration of a factory for node modules