{"id":20806292,"url":"https://github.com/nodesource/react-window-resize","last_synced_at":"2025-05-11T17:31:42.992Z","repository":{"id":57347737,"uuid":"123920422","full_name":"nodesource/react-window-resize","owner":"nodesource","description":"Resize the browser window","archived":true,"fork":false,"pushed_at":"2023-04-23T17:26:09.000Z","size":109,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T16:35:17.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodesource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-05T13:03:38.000Z","updated_at":"2025-01-31T20:00:25.000Z","dependencies_parsed_at":"2022-08-28T01:40:21.029Z","dependency_job_id":null,"html_url":"https://github.com/nodesource/react-window-resize","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Freact-window-resize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Freact-window-resize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Freact-window-resize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Freact-window-resize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodesource","download_url":"https://codeload.github.com/nodesource/react-window-resize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253604833,"owners_count":21934904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T19:19:07.840Z","updated_at":"2025-05-11T17:31:42.704Z","avatar_url":"https://github.com/nodesource.png","language":"JavaScript","readme":"# react-window-resize\n\nResize the browser window, as a React component.\n\n## Installation\n\n```bash\n$ npm install react-window-resize\n```\n\n## Usage\n\n```jsx\nimport React from 'react'\nimport WindowResize from 'react-window-resize'\n\nconst Example = () =\u003e (\n  \u003cWindowResize width={800} height={600}\u003e\n    When I'm mounted, the window size will be set to 800x600px.\n  \u003c/WindowResize\u003e\n)\n```\n\n## API\n\n### `\u003cWindowResize [width] [height]\u003e`\n\n`width` and `height` default to the current window dimensions, so you can omit one if you only want to set the other.\n\n## License\n\nMIT\n\nCopyright 2018 NodeSource\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesource%2Freact-window-resize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodesource%2Freact-window-resize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesource%2Freact-window-resize/lists"}