{"name":"react-test-renderer","version":"0.0.0-experimental-5de5b6150","keywords":["react","react-native","react-testing"],"license":"MIT","_id":"react-test-renderer@0.0.0-experimental-5de5b6150","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":"gaearon","email":"dan.abramov@gmail.com"},{"name":"lunaruan","email":"lunaris.ruan@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":"bd66776ddb5248dc198d8866e736cec9c1bf77d6","tarball":"http://registry-npm.ywwl.com/react-test-renderer/download/react-test-renderer-0.0.0-experimental-5de5b6150.tgz","fileCount":14,"integrity":"sha512-bEwbyLFfBXjvAKi1JgCElAfzOZQFQ3zU4VBlSd6WSbi3LlxdIOgCVF9x++LUE6QJWLxaUmTBDbzqqK7O4donbQ==","signatures":[{"sig":"MEYCIQDCCyyWC//ZAFzYWo3d5tl6tLiHTEEbK3XXu2CmQxEgUQIhAMGGeiUnq2ehq92dyWzvbZRpeUyaJeUO+apoznC6F0Ph","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1352058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTyUDCRA9TVsSAnZWagAAzT8P/jKAarhM4MEgp3RGbK1G\n6AWncWoYX441IBVCQorm2UC3WM1aCgGtQqFv/1GTVOD6x2qm61dCwIAulnta\n1sPjFNow50aiZBXJ093gwof8sDiT86C7w3FMr56hE8JPk6VMiWy6GPXOPg3m\nsUAFsq3im/8kWfeReDA6SYOH8vNlQ9K0jRW72f4yJC2CZDoqr7ADa4X7bzAP\n1H0AfCeLD9+2IzCxRszA8IUAl6MYnTr/MmEkdvzhoA/9DwpFpl38DQSgZuks\n97OjWIkfE+AFtPG9SBIbjkve7wyucSDY+H0wi88qNkk9o9+IUfAwvT0dujWG\nEAljDsPRuFadBvSxL43D06fopqqyFWJmOwNe3HImj5bIiw89gQ3ng77xnQlp\nBWlMikTJRTHCtdBQ8r1fIH5ZLDXLcX/H9PVW8Y8ZzxyUwOme8Y3vl5dCD/RM\n6WOf+HvOAk7Z5/WimqsPO4L9og6ZTVX2guwg5OiH705picwltNWcb9+bQ8y1\ncyX9HSLq96JtdKhjZER7rF13S15/261yK+S/Hp78bnQtvzY7skigapcOX1B2\nQsL+/aY6DmlbkCqPgzc9UcueGwaiVB+/wZDuGaDqqfsxA486Ln0v7xXAzVGg\nn47WxlyYhdIAZquWAxVoOQZUUvIBgyCdlDMVM3BeT6Sbq6eXYQzrSlL6wPDf\npBcG\r\n=3/Z+\r\n-----END PGP SIGNATURE-----\r\n","size":304951,"noattachment":false,"key":"/react-test-renderer/-/react-test-renderer-0.0.0-experimental-5de5b6150.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":"acdlite","email":"npm@andrewclark.io"},"repository":{"url":"git+https://github.com/facebook/react.git","type":"git","directory":"packages/react-test-renderer"},"_npmVersion":"6.4.1","description":"React package for snapshot testing.","directories":{},"_nodeVersion":"10.14.2","dependencies":{"react-is":"0.0.0-experimental-5de5b6150","scheduler":"0.0.0-experimental-5de5b6150","prop-types":"^15.6.2","object-assign":"^4.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"0.0.0-experimental-5de5b6150"},"_npmOperationalInternal":{"tmp":"tmp/react-test-renderer_0.0.0-experimental-5de5b6150_1582245122530_0.7331459418737345","host":"s3://npm-registry-packages"},"publish_time":1582245122675,"_cnpm_publish_time":1582245122675,"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"}}