{"name":"react-test-renderer","version":"0.0.0-7325ebe4d","keywords":["react","react-native","react-testing"],"license":"MIT","_id":"react-test-renderer@0.0.0-7325ebe4d","maintainers":[{"name":"acdlite","email":"npm@andrewclark.io"},{"name":"brianvaughn","email":"briandavidvaughn@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"flarnie","email":"flarnie.npm@gmail.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"sebmarkbage","email":"sebastian@calyptus.eu"},{"name":"sophiebits","email":"npm@sophiebits.com"},{"name":"threepointone","email":"threepointone@gmail.com"},{"name":"trueadm","email":"dg@domgan.com"},{"name":"zpao","email":"paul@oshannessy.com"}],"homepage":"https://reactjs.org/","bugs":{"url":"https://github.com/facebook/react/issues"},"dist":{"shasum":"90dcdcceca3d43ac7ad2e9cca26c55705ba2ed1b","tarball":"http://registry-npm.ywwl.com/react-test-renderer/download/react-test-renderer-0.0.0-7325ebe4d.tgz","fileCount":14,"integrity":"sha512-cWloqaeuf1KC7EX6+kpiNZz9bcLW40h5tMUk7ymWxmr+6cgzhuhesGu85FxLyD9ahP5AamICFro6WtM4d8NMlQ==","signatures":[{"sig":"MEYCIQCfLQR8xaNRKe2oM8G9EZVlkO4yt9noj5L23MVd1EB85AIhANIhEwl6gdUDcIDG2evK7yOYeLLEnycu6lcZbhS3vmxH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1097118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcE+HWCRA9TVsSAnZWagAAzAQP/0zU6y1RSlK5rXb3ByPJ\nogn/st2hvGPMWssrnJt1oMDAsC7Mb8JamP1AVIu0bOUzyhLkpBE3kXr//TOh\n4Xg0mInXzQsmzxfMS2mQJgO1/HWv3BctUlK4R9Ldo6X/ZgXKGKAzcjMR2Vsc\n4oX47YoRU+4P4EoU/ItuXTfNJJ00OFXadTzAJaCW+PPg2c3ONoIRaCcQcHYA\nd87ns4HPZ9jjNx4/xzd2i0CYzyy/mrLhkLZ9tcNZ3KuCdy6ZfeDgIDxfz16V\n0gpiyAWzajA6gzCVf32ODcN8yhf23XpobdI3d8haKmXj9/vXT5LY0Iri9Eln\nRDJadBFDiZdEXoKteqx/G/g8Ds9Eg7urpQ5RbeTGJmgMqEzTcPgVQrfpCIa7\n+BJ/VnIA/qm2lzpT/87EAUun37ybZ8S1OCIbCdJJBy9nmlqTTBnj0CyGQ71+\nU0MjgKku9IDZgQemc1cjyGWu0Ywku3aV0k0/PGgyHcWwM+xSmbVz44I8sAcL\n/lfE0zFN20iczrEU7HGROoTPwoca9Mlky7gx92LhvoFPAMKHYU4vK8E9wyMX\nHOaQhhpq1ANP7HLUu8Agy5R6YTH6rh4EXDHM5vFxDCoUeKyPvLWmMF5GRELN\ncpznDQfoBGxWwbryo+xphR56r68T+ysG/k/1TUTPgGqcL3uC7OFnhzP1nth1\nVMkJ\r\n=8HCU\r\n-----END PGP SIGNATURE-----\r\n","size":248156,"noattachment":false,"key":"/react-test-renderer/-/react-test-renderer-0.0.0-7325ebe4d.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://facebook.github.io/jest/blog/2016/07/27/jest-14.html.\n","_npmUser":{"name":"brianvaughn","email":"briandavidvaughn@gmail.com"},"repository":{"url":"git+https://github.com/facebook/react.git","type":"git"},"_npmVersion":"6.4.1","description":"React package for snapshot testing.","directories":{},"_nodeVersion":"10.12.0","dependencies":{"react-is":"0.0.0-7325ebe4d","scheduler":"0.0.0-7325ebe4d","prop-types":"^15.6.2","object-assign":"^4.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"0.0.0-7325ebe4d"},"_npmOperationalInternal":{"tmp":"tmp/react-test-renderer_0.0.0-7325ebe4d_1544806869961_0.8839610422342568","host":"s3://npm-registry-packages"},"publish_time":1544806870148,"_cnpm_publish_time":1544806870148,"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"}}