support require npm rule