{"library":"fscreen","type":"library","category":null,"description":"fscreen is a small, vendor-agnostic JavaScript utility library that provides a unified interface to the browser's Fullscreen API. It abstracts away browser-specific prefixes (like `webkit` or `moz`) for methods and properties such as `requestFullscreen`, `exitFullscreen`, `fullscreenElement`, and event listeners like `fullscreenchange` and `fullscreenerror`. The current stable version is 1.2.0. As a lightweight wrapper, fscreen aims to simplify cross-browser fullscreen implementation without introducing significant overhead or polyfills. It doesn't have a strict release cadence, typically releasing new versions as needed to adapt to browser changes or fix issues. Its primary differentiator is its simplicity and focus on providing a direct, standardized access layer to the native Fullscreen API, ensuring consistent behavior across different browsers without requiring developers to manage vendor prefixes manually.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","fullscreen","browser"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fscreen","imports":["import fscreen from 'fscreen';","import fscreen from 'fscreen';","fscreen.addEventListener('fullscreenchange', handler, false);"]},{"cmd":"yarn add fscreen","imports":[]},{"cmd":"pnpm add fscreen","imports":[]}],"homepage":null,"github":"https://github.com/rafgraph/fscreen","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fscreen","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/fscreen/compatibility"}}