Node module for flattening dependency hierarchy