replace-require-self

require('./')

Fedora
RUN dnf install -y nodejs-replace-require-self
click the source code to copy install replace-require-self on any operating system with command-not-found.com