{"id":15012547,"url":"https://github.com/microsoft/react-native-winrt","last_synced_at":"2025-04-12T20:45:09.541Z","repository":{"id":38851032,"uuid":"309788447","full_name":"microsoft/react-native-winrt","owner":"microsoft","description":"Windows Runtime projection for React Native for Windows","archived":false,"fork":false,"pushed_at":"2025-02-26T16:44:38.000Z","size":10558,"stargazers_count":90,"open_issues_count":51,"forks_count":11,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-04T00:10:01.672Z","etag":null,"topics":["javascript","react-native","react-native-windows","windows","winrt"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-03T19:35:19.000Z","updated_at":"2025-03-07T03:40:57.000Z","dependencies_parsed_at":"2022-07-13T06:50:33.554Z","dependency_job_id":"914c7ce2-c6ae-4bba-9e95-91daee4da68b","html_url":"https://github.com/microsoft/react-native-winrt","commit_stats":{"total_commits":298,"total_committers":10,"mean_commits":29.8,"dds":0.6006711409395973,"last_synced_commit":"8794ff8b41de9f20f120fae7b7c36e224ab60da9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Freact-native-winrt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Freact-native-winrt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Freact-native-winrt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Freact-native-winrt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/react-native-winrt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631688,"owners_count":21136556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","react-native","react-native-windows","windows","winrt"],"created_at":"2024-09-24T19:42:49.327Z","updated_at":"2025-04-12T20:45:09.514Z","avatar_url":"https://github.com/microsoft.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native WinRT\r\n\r\nReact Native WinRT is a module for [React Native for Windows](https://microsoft.github.io/react-native-windows/) developers who want to call native (non-XAML) WinRT APIs in their apps. It uses components from [xlang](https://github.com/Microsoft/xlang) to [parse metadata](https://github.com/microsoft/winmd) for public or private WinRT COM APIs and generate JSI (JavaScript Interface) wrappers for [C++/WinRT](https://github.com/microsoft/cppwinrt) types at compile-time. The code generator was itself derived from `cppwinrt.exe`.\r\n\r\nThis repo generates the [react-native-winrt npm package](https://www.npmjs.com/package/react-native-winrt) as well as the [Microsoft.ReactNative.WinRT NuGet packages](https://www.nuget.org/packages/Microsoft.ReactNative.WinRT) for specific versions of React Native Windows. \r\n\r\n## Getting started\r\n\r\nRefer to the [usage docs](docs/USAGE.md) for instructions on how to use React Native WinRT in your React Native Windows app to call projected WinRT APIs in JavaScript.\r\n\r\n### Sample code\r\n\r\nSee the [sample app](/samples/RNWinRTTestApp/) for an example of using React Native WinRT to consume WinRT APIs.\r\n\r\n\u003cimg src=\"samples/RNWinRTTestApp/images/sample-app.png\" width=\"500\"\u003e\r\n\r\n*Note: This is an example of the sample app. The image is pulled from the user's photo library and will likely be different.*\r\n\r\n## Versioning\r\n\r\nThe versioning scheme for React Native WinRT aligns with versions of React Native for Windows.\r\nA new major version of React Native for Windows is not guaranteed to be supported by a mismatched version of React Native WinRT.\r\nFor example, a React Native for Windows 0.67 app may not be compatible with **react-native-winrt** 0.66.* package versions due to potential breaking changes.\r\n\r\nReact Native WinRT currently supports the following versions of React Native for Windows: \r\n\r\n- [release/0.72](https://github.com/microsoft/react-native-winrt/tree/release/0.72)\r\n- [release/0.71](https://github.com/microsoft/react-native-winrt/tree/release/0.71)\r\n- [release/0.70](https://github.com/microsoft/react-native-winrt/tree/release/0.70)\r\n- [release/0.69](https://github.com/microsoft/react-native-winrt/tree/release/0.69)\r\n- [release/0.68](https://github.com/microsoft/react-native-winrt/tree/release/0.68)\r\n- [release/0.67](https://github.com/microsoft/react-native-winrt/tree/release/0.67)\r\n- [release/0.66](https://github.com/microsoft/react-native-winrt/tree/release/0.66)\r\n- [release/0.65](https://github.com/microsoft/react-native-winrt/tree/release/0.65)\r\n- [release/0.64](https://github.com/microsoft/react-native-winrt/tree/release/0.64)\r\n\r\n## Contributing\r\n\r\n_We want to hear from you!_ File a [new issue](https://github.com/microsoft/react-native-winrt/issues/new) to report a bug, ask a question, or make a suggestion. See our [Contributor's Guide](/CONTRIBUTING.md) for more information.\r\n\r\n## Trademarks\r\n\r\nThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft's Trademark \u0026 Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Freact-native-winrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Freact-native-winrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Freact-native-winrt/lists"}