Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
viewport-dimensions
Simple utility for watching and retrieving browser viewport width, height, vmin and vmax
window-size
Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
react-viewport-height
A utility for React to set 100vh equal to the actual browser inner window height.
jquery.documentsize
Detects the real width and height of the document.
same-height
This library can be used to dynamically ensure all elements of a given CSS selector are rendered at the same height.
bootstrap-screensize
Angular v1.X module for screen width/height and Bootstrap's breakpoints
react-virtualized-auto-sizer
Standalone version of the AutoSizer component from react-virtualized
is-window
Checks if the given value is a window object.
globalthis
ECMAScript spec-compliant polyfill/shim for `globalThis`
svelte-virtualized-auto-sizer
Port from react-virtualized-auto-sizer - High-order component that automatically adjusts the width and height of a single child.
@react-hook/window-size
React hooks for updating components when the size of the `window` changes.
global-cache
Sometimes you have to do horrible things, like use the global object to share a singleton. Abstract that away, with this!
redux-window
This is a small package to store the browser window's width and height in state.
workbox-window
Simplifies communications with Workbox packages running in the service worker
get-window
Returns the `window` object from a DOM object
canvas-fit
Small module for fitting a canvas element within the bounds of its parent.
react-window
React components for efficiently rendering large, scrollable lists and tabular data
window-or-global
Use either the window object in the browser or the global object in node.
ssr-window
Better handling for window object in SSR environment
window_size
get web browser height & wigth