{"versions":{"1.0.0-alpha.0":{"name":"@r2wc/core","version":"1.0.0-alpha.0","description":"Convert framework components to native Web Components.","homepage":"https://www.bitovi.com/frontend-javascript-consulting/react-consulting","author":{"name":"Bitovi"},"license":"MIT","keywords":["Web Component"],"repository":{"type":"git","url":"git+https://github.com/bitovi/react-to-webcomponent.git"},"type":"module","main":"./dist/core.cjs","module":"./dist/core.js","types":"./dist/core.d.ts","exports":{".":{"require":"./dist/core.cjs","import":"./dist/core.js","types":"./dist/core.d.ts"},"./package.json":"./package.json"},"scripts":{"typecheck":"tsc --noEmit","eslint":"eslint vite.config.ts src","prettier":"prettier --check vite.config.ts src","depcheck":"depcheck .","dev":"vite","test":"vitest","test:ci":"vitest run","test:coverage":"vitest run --coverage","clean":"rm -rf tsconfig.tsbuildinfo dist","build":"vite build"},"devDependencies":{"@testing-library/jest-dom":"^5.16.5","jsdom":"^22.0.0","vite":"^4.3.1","vite-plugin-dts":"^2.3.0","vitest":"^0.30.1"},"gitHead":"8b31ddbf0fe81062fbfbed771b73c9ef20020faa","bugs":{"url":"https://github.com/bitovi/react-to-webcomponent/issues"},"_id":"@r2wc/core@1.0.0-alpha.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-rE+QHx3QzYS6tZ1ffOQd0Wo59a+E3lBMwsoGdEV+pox5UR8VzQMV7Vx/9BLsa+4zPgplpk4axvWPRK1hwyQJeA==","shasum":"9edb54cda49ee827e0e7c0082fd5b4eb933861cf","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@r2wc/core/-/core-1.0.0-alpha.0.tgz","fileCount":18,"unpackedSize":21123,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiLURqmE+fXgD6qiYKRXlqlKWlD4hrF92MldIduNtR+AIhAMiuZSbvA0HF2kN44SXz40EPgNXfw3Zp7z6fK/YfXz44"}],"size":5894},"_npmUser":{"name":"anonymous","email":"os@bitovi.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"os@bitovi.com"},{"name":"anonymous","email":"slithytove2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_1.0.0-alpha.0_1684191649625_0.6308457447181337"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-15T23:00:49.770Z","publish_time":1684191649770,"_source_registry_name":"default","contributors":[]},"0.0.0":{"name":"@r2wc/core","version":"0.0.0","description":"Convert framework components to native Web Components.","homepage":"https://www.bitovi.com/frontend-javascript-consulting/react-consulting","author":{"name":"Bitovi"},"license":"MIT","keywords":["Web Component"],"repository":{"type":"git","url":"git+https://github.com/bitovi/react-to-webcomponent.git"},"type":"module","main":"./dist/core.cjs","module":"./dist/core.js","types":"./dist/core.d.ts","exports":{".":{"require":"./dist/core.cjs","import":"./dist/core.js","types":"./dist/core.d.ts"},"./package.json":"./package.json"},"scripts":{"typecheck":"tsc --noEmit","eslint":"eslint vite.config.ts src","prettier":"prettier --check vite.config.ts src","depcheck":"depcheck .","dev":"vite","test":"vitest","test:ci":"vitest run","test:coverage":"vitest run --coverage","clean":"rm -rf tsconfig.tsbuildinfo dist","build":"vite build"},"gitHead":"ea31861bba0da00a0ad8107cfd7d2861373e1cb4","bugs":{"url":"https://github.com/bitovi/react-to-webcomponent/issues"},"_id":"@r2wc/core@0.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-olWVjPtS6EtUNXX4OF3dSXTfPt0Yz1z3RtIJTsSRABR6zT2XSH2/bFQEELvTnG/+6ef2JyYzhpjJ98AmWEv3+g==","shasum":"54da8c51dbafded0ee501e95e3569a6ef7777582","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@r2wc/core/-/core-0.0.0.tgz","fileCount":18,"unpackedSize":21217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvPyjFAjv3bxqU0Nkj0Y2QxXsmG/2NeAJ2nzr/f5t/yAIgYuRg8j3dhy0kvBNGto3Ct3YTg7Pqc5XHrutmqSN2les="}],"size":5908},"_npmUser":{"name":"anonymous","email":"os@bitovi.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"os@bitovi.com"},{"name":"anonymous","email":"slithytove2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.0.0_1684267847132_0.7643618003891262"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-16T20:10:47.358Z","publish_time":1684267847358,"_source_registry_name":"default","contributors":[]},"1.0.0":{"name":"@r2wc/core","version":"1.0.0","description":"Convert framework components to native Web Components.","homepage":"https://www.bitovi.com/frontend-javascript-consulting/react-consulting","author":{"name":"Bitovi"},"license":"MIT","keywords":["Web Component"],"repository":{"type":"git","url":"git+https://github.com/bitovi/react-to-webcomponent.git"},"type":"module","main":"./dist/core.cjs","module":"./dist/core.js","types":"./dist/core.d.ts","exports":{".":{"require":"./dist/core.cjs","import":"./dist/core.js","types":"./dist/core.d.ts"},"./package.json":"./package.json"},"scripts":{"typecheck":"tsc --noEmit","eslint":"eslint vite.config.ts src","prettier":"prettier --check vite.config.ts src","depcheck":"depcheck .","dev":"vite","test":"vitest","test:ci":"vitest run","test:coverage":"vitest run --coverage","clean":"rm -rf tsconfig.tsbuildinfo dist","build":"vite build"},"gitHead":"f7aef32bd998e5131eae07c1244aa683b2b16ff7","bugs":{"url":"https://github.com/bitovi/react-to-webcomponent/issues"},"_id":"@r2wc/core@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-P/P1YXpCXESnJKxFGXDZFrldov3T5wqeJSgQNWMgTkuV4CA9C+gVwv2guadkB7h5PuFyJxaLLbK6vl2VAUltpA==","shasum":"5724bf472769ffe4157528bd10f62b9aada36098","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@r2wc/core/-/core-1.0.0.tgz","fileCount":18,"unpackedSize":21217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5FopSplPSEC5O3CQKELTI7PsRvJ8lWXJRkcA1XExrIQIgYM+8i5faBXkFKs3uz3pXMeNBzE+L/9cLSdGpFUCWyeY="}],"size":5909},"_npmUser":{"name":"anonymous","email":"os@bitovi.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"os@bitovi.com"},{"name":"anonymous","email":"slithytove2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_1.0.0_1684268152650_0.7566815907811968"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-16T20:15:52.833Z","publish_time":1684268152833,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"@r2wc/core","version":"1.0.1","description":"Convert framework components to native Web Components.","homepage":"https://www.bitovi.com/frontend-javascript-consulting/react-consulting","author":{"name":"Bitovi"},"license":"MIT","keywords":["Web Component"],"repository":{"type":"git","url":"git+https://github.com/bitovi/react-to-webcomponent.git"},"type":"module","main":"./dist/core.cjs","module":"./dist/core.js","types":"./dist/core.d.ts","exports":{".":{"require":"./dist/core.cjs","import":"./dist/core.js","types":"./dist/core.d.ts"},"./package.json":"./package.json"},"scripts":{"typecheck":"tsc --noEmit","eslint":"eslint vite.config.ts src","prettier":"prettier --check vite.config.ts src","depcheck":"depcheck .","dev":"vite","test":"vitest","test:ci":"vitest run","test:coverage":"vitest run --coverage","clean":"rm -rf tsconfig.tsbuildinfo dist","build":"vite build"},"_id":"@r2wc/core@1.0.1","gitHead":"478d39bc2db7aeb2fa60031738135329d213912c","bugs":{"url":"https://github.com/bitovi/react-to-webcomponent/issues"},"_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-3Q/IEvGoJ8E+wy8Y6vo+Hot35z89Ei0Ghr7WAhprxz1LhuCAaA2BIYXY8GjaCvJLGhiOLuiPMWb8DKfbrUzEMg==","shasum":"5f1c55b3f0ef63787034382a27204959818c8011","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@r2wc/core/-/core-1.0.1.tgz","fileCount":18,"unpackedSize":21277,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqVAhJMRFSlsfbWYM7cfmq6qH7/5VMm8WdLzvTTiruCwIgeATF14GMs5Bwdwb23xUYLF4bfNvpSHRVjhxl6gFti7E="}],"size":5914},"_npmUser":{"name":"anonymous","email":"os@bitovi.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"os@bitovi.com"},{"name":"anonymous","email":"slithytove2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_1.0.1_1696958561746_0.11325069792503673"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-10T17:22:41.956Z","publish_time":1696958561956,"_source_registry_name":"default","contributors":[]},"1.1.0":{"name":"@r2wc/core","version":"1.1.0","description":"Convert framework components to native Web Components.","homepage":"https://www.bitovi.com/open-source/react-to-web-component","author":{"name":"Bitovi"},"license":"MIT","keywords":["Web Component"],"repository":{"type":"git","url":"git+https://github.com/bitovi/react-to-webcomponent.git"},"type":"module","main":"./dist/core.cjs","module":"./dist/core.js","types":"./dist/core.d.ts","exports":{".":{"require":"./dist/core.cjs","import":"./dist/core.js","types":"./dist/core.d.ts"},"./package.json":"./package.json"},"scripts":{"typecheck":"tsc --noEmit","eslint":"eslint vite.config.ts src","prettier":"prettier --check vite.config.ts src","depcheck":"depcheck .","dev":"vite","test":"vitest","test:ci":"vitest run","test:coverage":"vitest run --coverage","clean":"rm -rf tsconfig.tsbuildinfo dist","build":"vite build"},"_id":"@r2wc/core@1.1.0","gitHead":"89c2c574268ce8cbf79535acf58b013abee7da44","bugs":{"url":"https://github.com/bitovi/react-to-webcomponent/issues"},"_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-pEgtPXhfgg8mv/MooU83cb5sXC2aQOXPLm9UX7E7Oz/OXmrnP5r8hD/nJL1empWxC4wo1YeBXvrFu8fXsMgGZQ==","shasum":"93c16cd5bf5bc6d9a52b23536aed4e6a4d2a6ef2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@r2wc/core/-/core-1.1.0.tgz","fileCount":21,"unpackedSize":24145,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAxgzGI6MHMg667dX9ZSvRkU48gloixBtmcMOFneEjyAiBEWIjH6fMydBl7sUnkS8ZIwM9qr0xhiWtqvWpKgl6pNg=="}],"size":7074},"_npmUser":{"name":"anonymous","email":"os@bitovi.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"os@bitovi.com"},{"name":"anonymous","email":"slithytove2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_1.1.0_1715138474218_0.6705956403672941"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-08T03:21:14.392Z","publish_time":1715138474392,"_source_registry_name":"default","contributors":[]},"1.2.0":{"name":"@r2wc/core","version":"1.2.0","description":"Convert framework components to native Web Components.","homepage":"https://www.bitovi.com/open-source/react-to-web-component","author":{"name":"Bitovi"},"license":"MIT","keywords":["Web Component"],"repository":{"type":"git","url":"git+https://github.com/bitovi/react-to-webcomponent.git"},"type":"module","main":"./dist/core.cjs","module":"./dist/core.js","types":"./dist/core.d.ts","exports":{".":{"require":"./dist/core.cjs","import":"./dist/core.js","types":"./dist/core.d.ts"},"./package.json":"./package.json"},"scripts":{"typecheck":"tsc --noEmit","eslint":"eslint .","prettier":"prettier --check .","depcheck":"depcheck .","dev":"vite","test":"vitest","test:ci":"vitest run","test:coverage":"vitest run --coverage","clean":"rm -rf tsconfig.tsbuildinfo dist","build":"vite build"},"devDependencies":{"@types/react":"^18.0.0","@types/react-dom":"^18.0.0"},"_id":"@r2wc/core@1.2.0","gitHead":"7cbe1ab29e2bedb202f5a05beffdd6bdff46e01e","bugs":{"url":"https://github.com/bitovi/react-to-webcomponent/issues"},"_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-vAfiuS5KywtV54SRzc4maEHcpdgeUyJzln+ATpNCOkO+ArIuOkTXd92b5YauVAd0A8B2rV/y9OeVW19vb73bUQ==","shasum":"a86cd2f732f499a4de8fa23b037053323f3749ed","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@r2wc/core/-/core-1.2.0.tgz","fileCount":14,"unpackedSize":25111,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPR5oVA03fa82OSJixAat+KNgE9phHYHA9m/lcRXgO1gIhAORsI0dUZcK0yDjp+C8h40HrUqObk/asbLvQ/P5JLdJf"}],"size":7227},"_npmUser":{"name":"anonymous","email":"os@bitovi.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"os@bitovi.com"},{"name":"anonymous","email":"slithytove2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_1.2.0_1731450167322_0.7896659376203694"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-12T22:22:47.528Z","publish_time":1731450167528,"_source_registry_name":"default","contributors":[]},"1.3.0":{"name":"@r2wc/core","version":"1.3.0","description":"Convert framework components to native Web Components.","homepage":"https://www.bitovi.com/open-source/react-to-web-component","author":{"name":"Bitovi"},"license":"MIT","keywords":["Web Component"],"repository":{"type":"git","url":"git+https://github.com/bitovi/react-to-webcomponent.git"},"type":"module","main":"./dist/core.cjs","module":"./dist/core.js","types":"./dist/core.d.ts","exports":{".":{"require":"./dist/core.cjs","import":"./dist/core.js","types":"./dist/core.d.ts"},"./package.json":"./package.json"},"scripts":{"typecheck":"tsc --noEmit","eslint":"eslint .","prettier":"prettier --check .","depcheck":"depcheck .","dev":"vite","test":"vitest","test:ci":"vitest run","test:coverage":"vitest run --coverage","clean":"rm -rf tsconfig.tsbuildinfo dist","build":"vite build"},"devDependencies":{"@types/react":"^18.0.0","@types/react-dom":"^18.0.0"},"_id":"@r2wc/core@1.3.0","gitHead":"1dc8a18957d4c54aaa55e7c226821772f5e5b639","bugs":{"url":"https://github.com/bitovi/react-to-webcomponent/issues"},"_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-aPBnND92Itl+SWWbWyyxdFFF0+RqKB6dptGHEdiPB8ZvnHWHlVzOfEvbEcyUYGtB6HBdsfkVuBiaGYyBFVTzVQ==","shasum":"ad3a0e1a022d7186007403b3319c2245de4db721","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@r2wc/core/-/core-1.3.0.tgz","fileCount":15,"unpackedSize":27573,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDkwEoSQfDxy6gFYxg58QTckyEun0ZGpS/kdtZsxYBrgwIhAJD5LDmsnNMzhdJdV0JZ1RgetN2BK+HNvkJoYdgMI4II"}],"size":7630},"_npmUser":{"name":"anonymous","email":"os@bitovi.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"os@bitovi.com"},{"name":"anonymous","email":"brad@bitovi.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.3.0_1757714935514_0.09282816823560358"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-12T22:08:55.691Z","publish_time":1757714935691,"_source_registry_name":"default","contributors":[]},"1.3.1":{"name":"@r2wc/core","version":"1.3.1","description":"Convert framework components to native Web Components.","homepage":"https://www.bitovi.com/open-source/react-to-web-component","author":{"name":"Bitovi"},"license":"MIT","keywords":["Web Component"],"repository":{"type":"git","url":"git+https://github.com/bitovi/react-to-webcomponent.git"},"type":"module","main":"./dist/core.cjs","module":"./dist/core.js","types":"./dist/core.d.ts","exports":{".":{"require":"./dist/core.cjs","import":"./dist/core.js","types":"./dist/core.d.ts"},"./package.json":"./package.json"},"scripts":{"typecheck":"tsc --noEmit","eslint":"eslint .","prettier":"prettier --check .","depcheck":"depcheck .","dev":"vite","test":"vitest","test:ci":"vitest run","test:coverage":"vitest run --coverage","clean":"rm -rf tsconfig.tsbuildinfo dist","build":"vite build"},"devDependencies":{"@types/react":"^18.0.0","@types/react-dom":"^18.0.0"},"_id":"@r2wc/core@1.3.1","gitHead":"713b68e30bea9aa322b01742bcac5884e92d8708","bugs":{"url":"https://github.com/bitovi/react-to-webcomponent/issues"},"_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-x9nMthXsTjqr1alE+boX1Zuzqb6/oFi4wAOdWaWcWKcrwq9M/PATK74c3DFJfRnUOkYWPlsz0e4CsFBXJGStSA==","shasum":"c400f25dec2a4447086b07d38375c0e33a5185b0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@r2wc/core/-/core-1.3.1.tgz","fileCount":15,"unpackedSize":27312,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICIZxDz22Z6w4nDaHaCkB79IvAcWXynTeF95hgz4gSgtAiEAyzQhrssAZ3MdN8AyiCYfp7hrZbXeXQcCLIq25TA933g="}],"size":7651},"_npmUser":{"name":"anonymous","email":"os@bitovi.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"os@bitovi.com"},{"name":"anonymous","email":"brad@bitovi.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_1.3.1_1771959852760_0.4342705045727513"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-24T19:04:12.921Z","publish_time":1771959852921,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.3.1","next":"1.0.0-alpha.0"},"name":"@r2wc/core","time":{"created":"2023-05-15T23:09:20.360Z","modified":"2026-02-24T19:04:28.024Z","1.0.0-alpha.0":"2023-05-15T23:00:49.770Z","0.0.0":"2023-05-16T20:10:47.358Z","1.0.0":"2023-05-16T20:15:52.833Z","1.0.1":"2023-10-10T17:22:41.956Z","1.1.0":"2024-05-08T03:21:14.392Z","1.2.0":"2024-11-12T22:22:47.528Z","1.3.0":"2025-09-12T22:08:55.691Z","1.3.1":"2026-02-24T19:04:12.921Z"},"readme":"# React to Web Component\n\n`@r2wc/core` is the heart of our system that converts [React](https://reactjs.org/) components to [custom elements](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements)! It lets you share React components as native elements that **don't** require being mounted through React. The custom element acts as a wrapper for the underlying React component. Use these custom elements with any project that uses HTML even in any framework (vue, svelte, angular, ember, canjs) the same way you would use standard HTML elements.\n\nThis project is an internal library that should not need to be used directly outside of renderers designed for this system, such as [@r2wc/react-to-web-component](../react-to-web-component).\n\n## Need help or have questions?\n\nThis project is supported by [Bitovi, a React consultancy](https://www.bitovi.com/frontend-javascript-consulting/react-consulting). You can get help or ask questions on our:\n\n- [Discord Community](https://discord.gg/J7ejFsZnJ4)\n- [Twitter](https://twitter.com/bitovi)\n\nOr, you can hire us for training, consulting, or development. [Set up a free consultation.](https://www.bitovi.com/frontend-javascript-consulting/react-consulting)\n\n## How it works\n\nUnder the hood, `r2wc` creates a `CustomElementConstructor` with custom getters/setters and life cycle methods that keep track of the props that you have defined. When a property is set, its custom setter:\n\n- re-renders the React component inside the custom element.\n- creates an enumerable getter / setter on the instance to save the set value and avoid hitting the proxy in the future.\n\nAlso:\n\n- Enumerable properties and values on the custom element are used as the `props` passed to the React component.\n- The React component is not rendered until the custom element is inserted into the page.\n\n# We want to hear from you.\n\nCome chat with us about open source in our Bitovi community [Discord](https://discord.gg/J7ejFsZnJ4).\n\nSee what we're up to by following us on [Twitter](https://twitter.com/bitovi).","users":{}}