{"name":"react-test-renderer","version":"0.0.0-5027eb465","keywords":["react","react-native","react-testing"],"license":"MIT","_id":"react-test-renderer@0.0.0-5027eb465","maintainers":[{"name":"sebmarkbage","email":"sebastian@calyptus.eu"},{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"zpao","email":"paul@oshannessy.com"},{"name":"acdlite","email":"npm@andrewclark.io"},{"name":"brianvaughn","email":"briandavidvaughn@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"trueadm","email":"dg@domgan.com"},{"name":"sophiebits","email":"npm@sophiebits.com"},{"name":"lunaruan","email":"lunaris.ruan@gmail.com"}],"homepage":"https://reactjs.org/","bugs":{"url":"https://github.com/facebook/react/issues"},"dist":{"shasum":"8252033d7ab34f35d1a03ba7a7fef47fc793535f","tarball":"http://registry-npm.ywwl.com/react-test-renderer/download/react-test-renderer-0.0.0-5027eb465.tgz","fileCount":9,"integrity":"sha512-Kb04Km0nnL0k3W22bZsxGGMLP3HJSvRSYlHZiG2/63fyjohywnp6DOEcaIwxjYgAtIdddkWw6fFwJgM/9OfHnw==","signatures":[{"sig":"MEQCIDIri/Ipr8Z4dlbvsvcgyo6sHbqEjKrXSELjvhE/xuOPAiA2MrKYhh+jXMzRKv6I3+tLZ9b1EjaFy2FL2ODeUd7fcg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1400850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgebeQCRA9TVsSAnZWagAAH8gP+wc6Pl0qZA7wp2s/F9UZ\n7m/i29wRjMpiziX4Egi0oUeQvtFlyCSFEwmrotymkAD3d3faiMkpLJ8lubAu\nOtZNEOuNrT6Wept0+5OYx9qEmKMVw5v7s2OjHNoTwT4AQXCDXIVqAcbyU1t8\nCAJOtSpB5O3pHKso2ihrBLHrA6rKVuRoAbYCtsuCNiV4CxCBwZu8FLQ9cD9I\n+6NtMdw/wHE2Z2MoAa9b7Gr8FtElENpQgY9yohXE+Ch1B+J/z+bB8xdERRTz\noKx4oOfVGdP6TkaKZtpmFPc55GkdUfjEPSILnO6/0RHst4SbuQjEQF4FjiLu\nu/YAyWTovqUy/4NBw5VOPSRkiia7MpYH/mCeJQjBsROTNcLRFVUpRuWeG/cC\nOQd8/jFKVc8vN8BDfpGW+Vv+80avyFYOiPB5E502GPrd/WpzjB8oknKuAf8E\nql5aXocMaD67AxwZlbcmyNQ2RY7xZr5YCu68goHTzFepnFU8hB1XOO/N2FJS\nIDyDx6JqKjXV9votm/w5sw6QU+EKsFnTsFdMA3vcmJjq2LoMbuMM3ELpmL5g\nna52ZdkU2Tc3wVT3dNHMOSA0XOZl4iY6qns3/fgrNz+CKoVziVP98NjwxyYb\nFbeLyCwRmepAOujq5HdfxfNO1zlUjDLvFaP0V2bFCkL3UlBTEmhJUy8aZglz\nuBDb\r\n=S7pu\r\n-----END PGP SIGNATURE-----\r\n","size":318740,"noattachment":false,"key":"/react-test-renderer/-/react-test-renderer-0.0.0-5027eb465.tgz"},"main":"index.js","readme":"# `react-test-renderer`\n\nThis package provides an experimental React renderer that can be used to render React components to pure JavaScript objects, without depending on the DOM or a native mobile environment.\n\nEssentially, this package makes it easy to grab a snapshot of the \"DOM tree\" rendered by a React DOM or React Native component without using a browser or jsdom.\n\nDocumentation:\n\n[https://reactjs.org/docs/test-renderer.html](https://reactjs.org/docs/test-renderer.html)\n\nUsage:\n\n```jsx\nconst ReactTestRenderer = require('react-test-renderer');\n\nconst renderer = ReactTestRenderer.create(\n  <Link page=\"https://www.facebook.com/\">Facebook</Link>\n);\n\nconsole.log(renderer.toJSON());\n// { type: 'a',\n//   props: { href: 'https://www.facebook.com/' },\n//   children: [ 'Facebook' ] }\n```\n\nYou can also use Jest's snapshot testing feature to automatically save a copy of the JSON tree to a file and check in your tests that it hasn't changed: https://jestjs.io/blog/2016/07/27/jest-14.html.\n","_npmUser":{"name":"acdlite","email":"npm@andrewclark.io"},"repository":{"url":"git+https://github.com/facebook/react.git","type":"git","directory":"packages/react-test-renderer"},"_npmVersion":"6.14.8","description":"React package for snapshot testing.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"react-is":"0.0.0-5027eb465","scheduler":"0.0.0-5027eb465","object-assign":"^4.1.1","react-shallow-renderer":"^16.13.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"0.0.0-5027eb465"},"_npmOperationalInternal":{"tmp":"tmp/react-test-renderer_0.0.0-5027eb465_1618589584408_0.3309385956264974","host":"s3://npm-registry-packages"},"publish_time":1618589584543,"_cnpm_publish_time":1618589584543,"dist-tags":{"backport":"19.1.10","beta":"19.0.0-beta-26f2496093-20240514","canary":"19.3.0-canary-df6aa4ec-20261112","experimental":"0.0.0-experimental-df6aa4ec-20261112","latest":"19.3.1","next":"19.3.0-canary-d5736f09-20260507","rc":"19.0.0-rc.1"}}