does “stat'ing” a file change the access time?
I don't think so. I just tried this on my computer (macOS 10.15, Node 15):
$ stat useName.ts
16777220 157432179 -rw-r--r-- 1 dmitry staff 0 856 "Nov 13 16:27:23 2020" "Oct 29 22:39:08 2020" "Oct 29 22:39:08 2020" "Jun 28 08:31:51 2020" 4096 8 0 useName.ts
> fs.statSync('useName.ts')
Stats {
dev: 16777220,
mode: 33188,
nlink: 1,
uid: 501,
gid: 20,
rdev: 0,
blksize: 4096,
ino: 157432179,
size: 856,
blocks: 8,
atimeMs: 1605302843377.5464,
mtimeMs: 1604025548575.2034,
ctimeMs: 1604025548575.2034,
birthtimeMs: 1593347511907.6377,
atime: 2020-11-13T21:27:23.378Z,
mtime: 2020-10-30T02:39:08.575Z,
ctime: 2020-10-30T02:39:08.575Z,
birthtime: 2020-06-28T12:31:51.908Z
}
Repeatedly issuing either command yields the same results.