Node's `require.resolve` algorithm implemented in Go | Hacker News Reader