UNPKG

get-client-window-size

Version:

A safe way of returning the interior width and height of the window in pixels

45 lines (23 loc) 1.34 kB
# <center> Welcome to get-client-window-size 👋 </center> ## _A safe way of returning the interior size of the window in pixels_ [![alt Version](https://img.shields.io/npm/v/get-client-window-size?color=blue)](https://www.npmjs.com/package/get-client-window-size) [![alt License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#) [![alt Twitter: twitter.com/WojtasinskiPawe](https://img.shields.io/twitter/follow/WojtasinskiPawe.svg?style=social)](https://twitter.com/WojtasinskiPawe) ## Documentation #### Usage - [Simple function example](#simple-function-example) ## Install `npm i get-client-window-size` or `yarn add get-client-window-size` #### Simple function example ![simple-function-example](https://i.imgur.com/qgyLdXT.png) ## Authors 👤 **Paweł Wojtasiński** - Github: [@playerony](https://github.com/playerony) - LinkedIn: [@pwojtasinski](https://www.linkedin.com/in/pwojtasinski) ## [](https://github.com/funtal/get-client-window-size#-contributing)🤝 Contributing Contributions, issues and feature requests are welcome! Feel free to check the [issues page](https://github.com/funtal/get-client-window-size/issues). ## Show your support Give a ⭐️ if this project helped you! [![PixelShiba](https://emoji.gg/assets/emoji/5344-pixelshiba.gif)](https://emoji.gg/emoji/5344-pixelshiba)