UNPKG

get-client-window-width

Version:

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

44 lines (23 loc) 1.35 kB
# <center> Welcome to get-client-window-width 👋 </center> ## _A safe way of returning the interior width of the window in pixels_ [![alt Version](https://img.shields.io/npm/v/get-client-window-width?color=blue)](https://www.npmjs.com/package/get-client-window-width) [![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-width` or `yarn add get-client-window-width` #### Simple function example ![simple-function-example](https://i.imgur.com/aPTh1KI.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-width#-contributing)🤝 Contributing Contributions, issues and feature requests are welcome! Feel free to check the [issues page](https://github.com/funtal/get-client-window-width/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)