{"bugs":{"url":"https://github.com/reach/reach-ui/issues"},"dist":{"shasum":"3c9595ae6eed62f8c08eb71de64b539e77843cea","tarball":"https://registry.npmjs.org/@reach/window-size/-/window-size-0.18.0-pre.0.tgz","fileCount":10,"integrity":"sha512-maQvAWq1Ha48FBeRGDRxqKkAay5gBmjvZBmjT9m+p43Ae84+XFQ6IPIFUU0WjrDJr/SCiYKCYTgV5W54mlOxGg==","signatures":[{"sig":"MEUCIQCXmqmdz6YZrQezGEGEynvlX9amLqf/aoD6oUnvK+OhCQIgKfUUqrhIgDTKTSDCq3nrS1qDbjgxwFgWM309MggJHsw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRNGIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTVhAAiynWw0f4vEEj8Y23MMKk+ONJw646RPqtjnvrFh3iKv4Ppsv6\r\nu5LCql7EhmsgEdQ8ahyPttuYDAfrp/cpiA04PWjcPARR5gPwPXojENnVNeff\r\nOOd0oh+HDNOvM7ipnEfL+0yNvJ2yzxKcMYT1q7Dxhz13rAokweUzD0SFSXpz\r\nshA934BtiQf280aGSixJRZvR6uJBVuxszUgX9Wn6pZ0j3ajutr0ZU3kGqE6E\r\n1XKhtfkx9Dp6t4ZioIKidP7RyDx4gZ9H3iSx34bvTPvwPg9LYMFqoKv/fRmP\r\n4SHDDUwtTDMPTsw8Kr5wig3luvYVub7buxFF2dX3EzzIC+06w7s+dF6o4ud9\r\nD939nfMJVJUaMqdQqHLv5N8cCt7u5Fx1Fyjqjd7K0UHblFqc9RLu4ogxFQFx\r\nDmrnX+tLlqGEBfRzqSauP9MPzvnEdGTeiDPOXsDXRIqGzQ2ivydLR350ljMD\r\nAX98PWRveRnn3ZaaxZJZvvXhr5ucAanXELCNgkJGzIkR0gtxwaT1tABClOEu\r\nk97wOwMQSZF8DRpP6HfcmMdD/qF8mfICC+1BLGyFIL7Bo9GBAEtk12LhoHJ+\r\njHO9cGgP9Ysivj3OGxprpxZQh+PEQ5czBVZFAmxEhmkF23cQOJSlkX4zvfyh\r\nt0jlIX60SNcpavMMsLLKKYwAn98NFR+G2tw=\r\n=uewY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs.js","name":"@reach/window-size","_from":"file:reach-window-size-0.18.0-pre.0.tgz","types":"./dist/index.d.ts","author":{"name":"React Training","email":"hello@reacttraining.com"},"module":"./dist/index.mjs","readme":"# @reach/window-size\n\n[![Stable release](https://img.shields.io/npm/v/@reach/window-size.svg)](https://npm.im/@reach/window-size) ![MIT license](https://badgen.now.sh/badge/license/MIT)\n\n[Docs](https://reach.tech/window-size) | [Source](https://github.com/reach/reach-ui/tree/main/packages/window-size)\n\nMeasure the current window dimensions.\n\n```jsx\nimport WindowSize, { useWindowSize } from \"@reach/window-size\";\n\nfunction Example() {\n\tconst { width, height } = useWindowSize();\n\treturn (\n\t\t<div>\n\t\t\t<p>\n\t\t\t\tLooks like a pretty{\" \"}\n\t\t\t\t{width <= 400 ? \"small\" : width >= 1000 ? \"large\" : \"normal\"} screen!\n\t\t\t</p>\n\t\t</div>\n\t);\n}\n```\n","license":"MIT","scripts":{"build":"tsup"},"_npmUser":{"name":"chancestrickland","email":"hi@chance.dev"},"homepage":"https://github.com/reach/reach-ui#readme","_resolved":"/tmp/8f4e9c65d85cd37b8ef48e9a156b4a1a/reach-window-size-0.18.0-pre.0.tgz","_integrity":"sha512-maQvAWq1Ha48FBeRGDRxqKkAay5gBmjvZBmjT9m+p43Ae84+XFQ6IPIFUU0WjrDJr/SCiYKCYTgV5W54mlOxGg==","repository":{"url":"git+https://github.com/reach/reach-ui.git","type":"git","directory":"packages/window-size"},"_npmVersion":"8.19.2","description":"Measure the window size in React","directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"sideEffects":["*.css"],"_nodeVersion":"18.10.0","dependencies":{"@reach/utils":"0.18.0-pre.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^6.1.3","react":"^17.0.2","react-dom":"^17.0.2","@reach-internal/dev":"0.0.0","@reach-internal/test":"0.0.0","@reach-internal/tsconfig":"0.0.0"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"_npmOperationalInternal":{"tmp":"tmp/window-size_0.18.0-pre.0_1665454472546_0.1210992030056115","host":"s3://npm-registry-packages"},"_id":"@reach/window-size@0.18.0-pre.0","version":"0.18.0-pre.0"}