You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Probably, some mistakes in the Node.js API documentation ("Modules" file) #27640
"Putting together all of the above, here is the high-level algorithm in pseudocode of what require.resolve() does:"
What was discussed above in the previous sections is mostly how require() works.
And in the pseudocode below the above sentence they write "require(X)...".
So, I guess the correct version should be
"Putting together all of the above, here is the high-level algorithm in pseudocode of what require() does:"
"It is convenient to organize programs and libraries into self-contained directories, and then provide a single entry point to that library."
As far as I understand, libraries and directories are different things.
So, if they organize programs and libraries into directories, then the entry point should probably be provided to directories.
So, I guess the correct version should be
"It is convenient to organize programs and libraries into self-contained directories, and then provide a single entry point to those directories."
I'm not a professional programmer, so maybe I got something wrong.
Please, look into this.
Activity
sam-github commentedon May 10, 2019
node 6.x is no longer supported, so I don't think we will fix its docs.
Are these issues present in master? If so, could you PR fixes?
Alex-Temny commentedon May 10, 2019
As far as I understand, the master branch is about v. 12.2.0.
Yes, these 2 little issues are there too.
I'll try to make PR with fixes.
mbj36 commentedon Jun 5, 2019
I think this issue can be closed.