Determine the set of requirements for a given node.js file, directory tree, or module