René's URL Explorer Experiment


Title: doc fix: align code example for module.createRequireFromPath() with actual code behavior. by creativecomposer · Pull Request #26606 · nodejs/node · GitHub

Open Graph Title: doc fix: align code example for module.createRequireFromPath() with actual code behavior. by creativecomposer · Pull Request #26606 · nodejs/node

X Title: doc fix: align code example for module.createRequireFromPath() with actual code behavior. by creativecomposer · Pull Request #26606 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: module.createRequireFromPath() takes a filename as argument. But the accompanying code example in the documentation makes it seem like it can take a directory argument as well. However, if a direct...

X Description: module.createRequireFromPath() takes a filename as argument. But the accompanying code example in the documentation makes it seem like it can take a directory argument as well. However, if a direct...

Opengraph URL: https://github.com/nodejs/node/pull/26606

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b130c291-84ce-3832-9a4a-f6feb7570c1d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD986:2CD0FB:3939451:520B214:6A4FD921
html-safe-nonce33b44c715f74eae16e9767b2f0a7093624888de790e9ca2b9bb4d99a5f9ec834
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTg2OjJDRDBGQjozOTM5NDUxOjUyMEIyMTQ6NkE0RkQ5MjEiLCJ2aXNpdG9yX2lkIjoiMjg1OTYzMjQ2MDYwMTIxOTM2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac482c2c3eaf4351e5de1520af2a88659de7c19ad099c1d17fcb81dda4fb358baf
hovercard-subject-tagpull_request:260309836
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/26606/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1e15fbb69cdd88ad7daef0138f9174cce5c2d8f5d29405a0c92078ca8e62175d/nodejs/node/pull/26606
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1e15fbb69cdd88ad7daef0138f9174cce5c2d8f5d29405a0c92078ca8e62175d/nodejs/node/pull/26606
og:image:altmodule.createRequireFromPath() takes a filename as argument. But the accompanying code example in the documentation makes it seem like it can take a directory argument as well. However, if a direct...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecreativecomposer
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release142593e66413bbae27fd485859993597d5a3b104
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/26606#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F26606
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F26606
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/26606
Reloadhttps://github.com/nodejs/node/pull/26606
Reloadhttps://github.com/nodejs/node/pull/26606
Please reload this pagehttps://github.com/nodejs/node/pull/26606
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/26606
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.3k https://github.com/nodejs/node/issues
Pull requests 974 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
creativecomposerhttps://github.com/creativecomposer
nodejs:masterhttps://github.com/nodejs/node/tree/master
Conversationhttps://github.com/nodejs/node/pull/26606
Commits1 (1)https://github.com/nodejs/node/pull/26606/commits
Checkshttps://github.com/nodejs/node/pull/26606/checks
Files changedhttps://github.com/nodejs/node/pull/26606/files
doc fix: align code example for module.createRequireFromPath() with actual code behavior.https://github.com/nodejs/node/pull/26606#top
creativecomposerhttps://github.com/creativecomposer
nodejs:masterhttps://github.com/nodejs/node/tree/master
https://github.com/creativecomposer
creativecomposerhttps://github.com/creativecomposer
Mar 12, 2019https://github.com/nodejs/node/pull/26606#issue-419919502
#23710https://github.com/nodejs/node/issues/23710
#24763 (comment)https://github.com/nodejs/node/pull/24763#discussion_r238051920
commit guidelineshttps://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines
Please reload this pagehttps://github.com/nodejs/node/pull/26606
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
doc https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc
module https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Amodule
Mar 12, 2019https://github.com/nodejs/node/pull/26606#event-2196721862
doc: align code example with actual code behaviorhttps://github.com/nodejs/node/pull/26606/commits/72d0853483b83b98d0f5f0fce64a96ee7a3fa65b
72d0853https://github.com/nodejs/node/pull/26606/commits/72d0853483b83b98d0f5f0fce64a96ee7a3fa65b
#23710https://github.com/nodejs/node/issues/23710
#24763 (comment)https://github.com/nodejs/node/pull/24763#discussion_r238051920
https://github.com/BridgeAR
BridgeARhttps://github.com/BridgeAR
Mar 13, 2019https://github.com/nodejs/node/pull/26606#issuecomment-472634039
@Antony2025https://github.com/Antony2025
Please reload this pagehttps://github.com/nodejs/node/pull/26606
https://github.com/creativecomposer
creativecomposerhttps://github.com/creativecomposer
Mar 14, 2019https://github.com/nodejs/node/pull/26606#issuecomment-472814702
@BridgeARhttps://github.com/BridgeAR
the other open PRhttps://github.com/nodejs/node/pull/24763
not truehttps://github.com/nodejs/node/pull/23818
@Trotthttps://github.com/Trott
#24763 (comment)https://github.com/nodejs/node/pull/24763#discussion_r238051920
Please reload this pagehttps://github.com/nodejs/node/pull/26606
https://github.com/creativecomposer
creativecomposerhttps://github.com/creativecomposer
Mar 18, 2019https://github.com/nodejs/node/pull/26606#issuecomment-473897900
@BridgeARhttps://github.com/BridgeAR
@guybedfordhttps://github.com/guybedford
@Trotthttps://github.com/Trott
@Trotthttps://github.com/Trott
Please reload this pagehttps://github.com/nodejs/node/pull/26606
https://github.com/creativecomposer
creativecomposerhttps://github.com/creativecomposer
Mar 20, 2019https://github.com/nodejs/node/pull/26606#issuecomment-474764518
Please reload this pagehttps://github.com/nodejs/node/pull/26606
https://github.com/creativecomposer
creativecomposerhttps://github.com/creativecomposer
Mar 20, 2019https://github.com/nodejs/node/pull/26606#event-2216281048
https://github.com/creativecomposer
creativecomposerhttps://github.com/creativecomposer
March 20, 2019 10:05https://github.com/nodejs/node/pull/26606#event-2216281880
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F26606
doc https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc
module https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Amodule
module: createRequireFromPath documentation is incorrect https://github.com/nodejs/node/issues/23710
Please reload this pagehttps://github.com/nodejs/node/pull/26606
https://github.com/creativecomposer
https://github.com/BridgeAR
https://github.com/nodejs-github-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.