If the other programs are installed as RPM packages then you can see which ones require
rpm -q --whatrequires nodejs
If the other programs aren't installed as RPM packages then there's no easy way. Dependency information is one of the major benefits of using a package manager, as opposed to just copying files around.
You can set up logging whenever
/usr/bin/nodejs is executing and run your system for a few days to see what executes it. If the file is used as a script interpreter via a shebang line, you can use the audit subsystem:
auditctl -w /usr/bin/nodejs
nodejs is called explicitly then this won't tell you what program executed it, but this does log the first few command line parameters, which hopefully includes a script path that would be enough information for you. Watch Monitoring what program calls an executable file for other solutions.
Alternatively, if you have an idea where that program is stored, you can search for the string
nodejs. But this is likely to return a lot of false positives (e.g. documentation files).