`require.resolve()` returns the path from where Node.js would load the provided module.