René's URL Explorer Experiment


Title: Migration from process.binding · Issue #22064 · nodejs/node · GitHub

Open Graph Title: Migration from process.binding · Issue #22064 · nodejs/node

X Title: Migration from process.binding · Issue #22064 · nodejs/node

Description: With #22004 landed to doc deprecate process.binding I was encouraged to open an issue related to my use of it. Now is a great time to starting examining what from process.binding can be exposed in a user-friendly way. In my own experienc...

Open Graph Description: With #22004 landed to doc deprecate process.binding I was encouraged to open an issue related to my use of it. Now is a great time to starting examining what from process.binding can be exposed in ...

X Description: With #22004 landed to doc deprecate process.binding I was encouraged to open an issue related to my use of it. Now is a great time to starting examining what from process.binding can be exposed in ...

Opengraph URL: https://github.com/nodejs/node/issues/22064

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Migration from process.binding ","articleBody":"With #22004 landed to doc deprecate `process.binding` I was [encouraged to](https://github.com/nodejs/node/pull/22004#issuecomment-408580131) open an issue related to my use of it. Now is a great time to starting examining what from `process.binding` can be exposed in a user-friendly way.\r\n\r\nIn my own experience I've attempted to use _(if available and there were no user-facing options)_ these bindings. My usage fits into these categories\r\n\r\n1. chrome inspector wiring\r\n1. command-line checks\r\n1. custom error stack decoration\r\n1. custom inspection\r\n\r\nThe API run down as follows:\r\n\r\n* ~~`process.binding(\"config\")`~~\r\n  - ~~experimentalREPLAwait _(command line checks)_~~\r\n  - ~~experimentalWorker _(command line checks)_~~\r\n  - ~~exposeInternals _(command line checks)_~~\r\n  - ~~preserveSymlinks _(command line checks)_~~\r\n  - ~~preserveSymlinksMain _(command line checks)_~~\r\n\r\n* `process.binding(\"inspector\")`\r\n  - callAndPauseOnStart _(inspector wiring; other utils like [ndb](https://github.com/GoogleChromeLabs/ndb)_ use this too)\r\n  - consoleCall _(inspector wiring)_\r\n  - ~~open _(only existence checks, much like [Node does](https://github.com/nodejs/node/blob/b7c7c0c4961fd4e382b7cadcfb7c8360b8904a4a/lib/internal/modules/cjs/helpers.js#L113))_~~\r\n\r\n* `process.binding(\"util\")`\r\n  - decorated_private_symbol _(error stack decoration)_\r\n  - getProxyDetails _(custom inspection)_\r\n  - setHiddenValue _(error stack decoration)_\r\n  - safeGetenv\r\n\r\nFor chrome inspector wiring there has been some work to expose things like `originalConsole` (#21659), but more in this area is needed.\r\n\r\nFor command-line checks the answer may be to use `process.execArgv`, but a more `config` like object form would be handy.\r\n\r\nFor custom error stack decoration there is early feelers in #21958.\r\n\r\nCustom inspection helpers like `getProxyDetails`/`getPromiseDetails` and `safeGetenv` have nothing simmering at the moment.\r\n\r\n**Updated:**\r\n\r\nI ~~crossed through~~ API that have user-facing options.\r\n\r\n**Update:**\r\n\r\nReplaced `process.binding(\"inspector\").open` inferences with `process.config.variables.v8_enable_inspector` checks.","author":{"url":"https://github.com/jdalton","@type":"Person","name":"jdalton"},"datePublished":"2018-08-01T18:00:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":39},"url":"https://github.com/22064/node/issues/22064"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:000a4400-603e-8ecb-1a08-71697a2b4bc7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8C0E:18C74D:112D3BE:1774A2B:6A4D6855
html-safe-nonce1fe96225b0b303dc73e88465a0695aed13400d545ecc7ac51d13d02d03715c84
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzBFOjE4Qzc0RDoxMTJEM0JFOjE3NzRBMkI6NkE0RDY4NTUiLCJ2aXNpdG9yX2lkIjoiMTg4MjI5ODAxOTQ0MjY4MTk0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3bd783e2bfd6be0f2a9b9527abc4180386bdd29c5ec475a29d2fbb2a54e22121
hovercard-subject-tagissue:346706528
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/22064/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c3c72f1dd62728b6a9837ea396efc1422860d74ad9093e8d6f435c231b353baa/nodejs/node/issues/22064
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c3c72f1dd62728b6a9837ea396efc1422860d74ad9093e8d6f435c231b353baa/nodejs/node/issues/22064
og:image:altWith #22004 landed to doc deprecate process.binding I was encouraged to open an issue related to my use of it. Now is a great time to starting examining what from process.binding can be exposed in ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejdalton
hostnamegithub.com
expected-hostnamegithub.com
None7db3950e3f59095e20a9789440c3dd554efc62d434882ead06ae05b5815605b9
turbo-cache-controlno-preview
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
releasecd8f6a71db61d6012a0cbb134be844fdbe9b8a45
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/issues/22064#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F22064
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
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%2Fissues%2F22064
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/22064
Reloadhttps://github.com/nodejs/node/issues/22064
Reloadhttps://github.com/nodejs/node/issues/22064
Please reload this pagehttps://github.com/nodejs/node/issues/22064
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/issues/22064
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.4k https://github.com/nodejs/node/issues
Pull requests 962 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
Migration from process.binding https://github.com/nodejs/node/issues/22064#top
processIssues and PRs related to the process subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22process%22
https://github.com/jdalton
jdaltonhttps://github.com/jdalton
on Aug 1, 2018https://github.com/nodejs/node/issues/22064#issue-346706528
#22004https://github.com/nodejs/node/pull/22004
encouraged tohttps://github.com/nodejs/node/pull/22004#issuecomment-408580131
ndbhttps://github.com/GoogleChromeLabs/ndb
Node doeshttps://github.com/nodejs/node/blob/b7c7c0c4961fd4e382b7cadcfb7c8360b8904a4a/lib/internal/modules/cjs/helpers.js#L113
#21659https://github.com/nodejs/node/pull/21659
#21958https://github.com/nodejs/node/issues/21958
processIssues and PRs related to the process subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22process%22
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.