| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:a1b6f633-25c6-4c4b-0cf0-228f7eae7f36 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A7CE:3422CF:AB100F:DC99F9:6B063798 |
| html-safe-nonce | ec9421d3ce150fba045f078ec2bf62ac3a1089a044f28c0262a71ac12d71985d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0NFOjM0MjJDRjpBQjEwMEY6REM5OUY5OjZCMDYzNzk4IiwidmlzaXRvcl9pZCI6IjUxOTkxNTEyNTYxMjc4MTM1MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c53adf02eb2c0814465eaf87b3a411b0dcc7cbbb11fbe9463b84517281f4db98 |
| hovercard-subject-tag | pull_request:5152762366 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node-addon-api/1760/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bea41ff9169756a907d0aabe274ba881723c0a7ab89ad136856ecfb8c7403342/nodejs/node-addon-api/pull/1760 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bea41ff9169756a907d0aabe274ba881723c0a7ab89ad136856ecfb8c7403342/nodejs/node-addon-api/pull/1760 |
| og:image:alt | Fixes #1747
Description
This PR introduces C++20 std::span overloads for buffer-like types (Buffer<T>, ArrayBuffer, and TypedArrayOf<T>), allowing developers to pass bounds-carrying han... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dave-365 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node-addon-api git https://github.com/nodejs/node-addon-api.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 81384578 |
| octolytics-dimension-repository_nwo | nodejs/node-addon-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81384578 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node-addon-api |
| 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 | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/nodejs/node-addon-api/pull/1760#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode-addon-api%2Fpull%2F1760 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode-addon-api%2Fpull%2F1760 |
| 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-addon-api |
| Reload | https://github.com/nodejs/node-addon-api/pull/1760 |
| Reload | https://github.com/nodejs/node-addon-api/pull/1760 |
| Reload | https://github.com/nodejs/node-addon-api/pull/1760 |
| nodejs | https://github.com/nodejs |
| node-addon-api | https://github.com/nodejs/node-addon-api |
| Code | https://github.com/nodejs/node-addon-api |
| Issues12 (12) | https://github.com/nodejs/node-addon-api/issues |
| Pull requests8 (8) | https://github.com/nodejs/node-addon-api/pulls |
| Actions | https://github.com/nodejs/node-addon-api/actions |
| Projects | https://github.com/nodejs/node-addon-api/projects |
| Wiki | https://github.com/nodejs/node-addon-api/wiki |
| Security and quality | https://github.com/nodejs/node-addon-api/security |
| Insights | https://github.com/nodejs/node-addon-api/insights |
| https://github.com/nodejs/node-addon-api |
| dave-365 | https://github.com/dave-365 |
| nodejs:main | https://github.com/nodejs/node-addon-api/tree/main |
| dave-365:feat/cpp20-std-span | https://github.com/dave-365/node-addon-api/tree/feat/cpp20-std-span |
| Conversation | https://github.com/nodejs/node-addon-api/pull/1760 |
| Commits4 (4) | https://github.com/nodejs/node-addon-api/pull/1760/commits |
| Checks | https://github.com/nodejs/node-addon-api/pull/1760/checks |
| Files changed | https://github.com/nodejs/node-addon-api/pull/1760/files |
| feat(buffer): support C++20 std::span overloads | https://github.com/nodejs/node-addon-api/pull/1760#top |
| dave-365 | https://github.com/dave-365 |
| nodejs:main | https://github.com/nodejs/node-addon-api/tree/main |
| dave-365:feat/cpp20-std-span | https://github.com/dave-365/node-addon-api/tree/feat/cpp20-std-span |
|
| https://github.com/dave-365 |
| dave-365 | https://github.com/dave-365 |
| Nov 4, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#issue-6200965701 |
| #1747 | https://github.com/nodejs/node-addon-api/issues/1747 |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Node-API Team Project | https://github.com/orgs/nodejs/projects/11 |
| Nov 4, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#event-35117790354 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Node-API Team Project | https://github.com/orgs/nodejs/projects/11 |
| Nov 4, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#event-35117793304 |
| https://github.com/codecov-commenter |
| codecov-commenter | https://github.com/codecov-commenter |
| Nov 6, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#issuecomment-6689753550 |
| Codecov | https://app.codecov.io/gh/nodejs/node-addon-api/pull/1760?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| 25c6b21 | https://app.codecov.io/gh/nodejs/node-addon-api/commit/25c6b211f0395b38a3a1230f15e9c523dca50fdb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| 1803c34 | https://app.codecov.io/gh/nodejs/node-addon-api/commit/1803c3428c80df011ca31a1a065ee954a944264d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| ☔ View full report in Codecov by Harness | https://app.codecov.io/gh/nodejs/node-addon-api/pull/1760?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| Share it here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| JS Bundle Analysis | https://docs.codecov.com/docs/javascript-bundle-analysis |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| https://github.com/KevinEady |
| KevinEady | https://github.com/KevinEady |
| Nov 7, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#issuecomment-6713227452 |
| @dave-365 | https://github.com/dave-365 |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| dave-365 | https://github.com/dave-365 |
| November 8, 2026 10:46 | https://github.com/nodejs/node-addon-api/pull/1760#commits-pushed-c26e67d |
|
| https://github.com/dave-365 |
| feat(buffer): support C++20 std::span overloads | https://github.com/nodejs/node-addon-api/pull/1760/commits/c26e67dfae6ce6aa595e31af68a377e62d3d698c |
| c26e67d | https://github.com/nodejs/node-addon-api/pull/1760/commits/c26e67dfae6ce6aa595e31af68a377e62d3d698c |
| test(concepts): isolate binding_cpp20 target and test runner | https://github.com/nodejs/node-addon-api/pull/1760/commits/d6f95c724e429dc47d531dfc46d52f5f40ff4d22 |
| d6f95c7 | https://github.com/nodejs/node-addon-api/pull/1760/commits/d6f95c724e429dc47d531dfc46d52f5f40ff4d22 |
| https://github.com/dave-365 |
| dave-365 | https://github.com/dave-365 |
| force-pushed | https://github.com/nodejs/node-addon-api/compare/ea57fa90e5bb953b0ee46070b82ddd978bc2c7ab..d6f95c724e429dc47d531dfc46d52f5f40ff4d22 |
| ea57fa9 | https://github.com/nodejs/node-addon-api/commit/ea57fa90e5bb953b0ee46070b82ddd978bc2c7ab |
| d6f95c7 | https://github.com/nodejs/node-addon-api/commit/d6f95c724e429dc47d531dfc46d52f5f40ff4d22 |
|
Compare
| https://github.com/nodejs/node-addon-api/compare/ea57fa90e5bb953b0ee46070b82ddd978bc2c7ab..d6f95c724e429dc47d531dfc46d52f5f40ff4d22 |
| November 8, 2026 05:17 | https://github.com/nodejs/node-addon-api/pull/1760#event-35477455469 |
| https://github.com/dave-365 |
| dave-365 | https://github.com/dave-365 |
| Nov 8, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#issuecomment-6717654489 |
| @dave-365 | https://github.com/dave-365 |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| https://github.com/dave-365 |
| dave-365 | https://github.com/dave-365 |
| Nov 9, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#issuecomment-6736558811 |
| @KevinEady | https://github.com/KevinEady |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| https://github.com/dave-365 |
| dave-365 | https://github.com/dave-365 |
| Nov 12, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#issuecomment-6828502556 |
| @KevinEady | https://github.com/KevinEady |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| https://github.com/KevinEady |
| KevinEady | https://github.com/KevinEady |
|
Nov 12, 2026
| https://github.com/nodejs/node-addon-api/pull/1760#pullrequestreview-5878108879 |
|
View reviewed changes
| https://github.com/nodejs/node-addon-api/pull/1760/files/d6f95c724e429dc47d531dfc46d52f5f40ff4d22 |
| KevinEady | https://github.com/KevinEady |
| https://github.com/nodejs/node-addon-api/pull/1760#pullrequestreview-5878108879 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| napi.h | https://github.com/nodejs/node-addon-api/pull/1760/files/d6f95c724e429dc47d531dfc46d52f5f40ff4d22#diff-6294f8ee1d8cd7e4e94cfc22a083380fb80058e34f53100d895b9b3b295dd801 |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| napi.h | https://github.com/nodejs/node-addon-api/pull/1760/files/d6f95c724e429dc47d531dfc46d52f5f40ff4d22#diff-6294f8ee1d8cd7e4e94cfc22a083380fb80058e34f53100d895b9b3b295dd801 |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
|
| https://github.com/dave-365 |
| docs: add documentation for std::span overloads and add SharedArrayBu… | https://github.com/nodejs/node-addon-api/pull/1760/commits/eda8f14dd1a9d53c2667e2b67ba9632ad0d6d505 |
| eda8f14 | https://github.com/nodejs/node-addon-api/pull/1760/commits/eda8f14dd1a9d53c2667e2b67ba9632ad0d6d505 |
| https://github.com/legendecas |
| legendecas | https://github.com/legendecas |
|
Nov 13, 2026
| https://github.com/nodejs/node-addon-api/pull/1760#pullrequestreview-5893834389 |
|
View reviewed changes
| https://github.com/nodejs/node-addon-api/pull/1760/files/eda8f14dd1a9d53c2667e2b67ba9632ad0d6d505 |
| legendecas | https://github.com/legendecas |
| https://github.com/nodejs/node-addon-api/pull/1760#pullrequestreview-5893834389 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| https://github.com/legendecas |
| legendecas | https://github.com/legendecas |
|
Nov 13, 2026
| https://github.com/nodejs/node-addon-api/pull/1760#pullrequestreview-5893881331 |
|
View reviewed changes
| https://github.com/nodejs/node-addon-api/pull/1760/files/eda8f14dd1a9d53c2667e2b67ba9632ad0d6d505 |
| napi.h | https://github.com/nodejs/node-addon-api/pull/1760/files/eda8f14dd1a9d53c2667e2b67ba9632ad0d6d505#diff-6294f8ee1d8cd7e4e94cfc22a083380fb80058e34f53100d895b9b3b295dd801 |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| https://github.com/legendecas |
| legendecas | https://github.com/legendecas |
|
Nov 13, 2026
| https://github.com/nodejs/node-addon-api/pull/1760#pullrequestreview-5893895027 |
|
View reviewed changes
| https://github.com/nodejs/node-addon-api/pull/1760/files/eda8f14dd1a9d53c2667e2b67ba9632ad0d6d505 |
| napi.h | https://github.com/nodejs/node-addon-api/pull/1760/files/eda8f14dd1a9d53c2667e2b67ba9632ad0d6d505#diff-6294f8ee1d8cd7e4e94cfc22a083380fb80058e34f53100d895b9b3b295dd801 |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| fix(buffer): make ArrayBuffer and SharedArrayBuffer Span() untyped ui… | https://github.com/nodejs/node-addon-api/pull/1760/commits/309c0e9579556203c8fa44f5c69db2fa4fcc1df8 |
| 309c0e9 | https://github.com/nodejs/node-addon-api/pull/1760/commits/309c0e9579556203c8fa44f5c69db2fa4fcc1df8 |
| https://github.com/dave-365 |
| dave-365 | https://github.com/dave-365 |
| Nov 13, 2026 | https://github.com/nodejs/node-addon-api/pull/1760#issuecomment-6861917963 |
| @KevinEady | https://github.com/KevinEady |
| @legendecas | https://github.com/legendecas |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
| https://github.com/dave-365 |
| dave-365 | https://github.com/dave-365 |
| KevinEady | https://github.com/KevinEady |
| legendecas | https://github.com/legendecas |
| November 13, 2026 18:48 | https://github.com/nodejs/node-addon-api/pull/1760#event-36062695735 |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node-addon-api/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode-addon-api%2Fpull%2F1760 |
|
| https://github.com/legendecas |
|
legendecas
| https://github.com/legendecas |
|
| https://github.com/KevinEady |
|
KevinEady
| https://github.com/KevinEady |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
|
Node-API Team Project
| https://github.com/orgs/nodejs/projects/11 |
|
Support C++20 span types
| https://github.com/nodejs/node-addon-api/issues/1747 |
| Please reload this page | https://github.com/nodejs/node-addon-api/pull/1760 |
|
| https://github.com/dave-365 |
|
| https://github.com/codecov-commenter |
|
| https://github.com/KevinEady |
|
| https://github.com/legendecas |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |