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
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b130c291-84ce-3832-9a4a-f6feb7570c1d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D986:2CD0FB:3939451:520B214:6A4FD921 |
| html-safe-nonce | 33b44c715f74eae16e9767b2f0a7093624888de790e9ca2b9bb4d99a5f9ec834 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTg2OjJDRDBGQjozOTM5NDUxOjUyMEIyMTQ6NkE0RkQ5MjEiLCJ2aXNpdG9yX2lkIjoiMjg1OTYzMjQ2MDYwMTIxOTM2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 482c2c3eaf4351e5de1520af2a88659de7c19ad099c1d17fcb81dda4fb358baf |
| hovercard-subject-tag | pull_request:260309836 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/26606/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1e15fbb69cdd88ad7daef0138f9174cce5c2d8f5d29405a0c92078ca8e62175d/nodejs/node/pull/26606 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e15fbb69cdd88ad7daef0138f9174cce5c2d8f5d29405a0c92078ca8e62175d/nodejs/node/pull/26606 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | creativecomposer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width