Backport refactor src/node.js into internal files
Pull Request check-list
-
Does make -j8 test
(UNIX) orvcbuild test nosign
(Windows) pass with this change (including linting)? -
Is the commit message formatted according to CONTRIBUTING.md?
Affected core subsystem(s)
src,lib
Description of change
backport of #5103 onto v5.x
cc @evanlucas