maps requirements for node javascript files in a source directory