NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4187 most downloaded on npm
Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen.
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 10 months
Most releases are documented
notes for 18 of 29 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
29 releases · first in 2013
Support running in server environments (#208) 2907f62
https://github.com/sindresorhus/screenfull/compare/v6.0.1...v6.0.2
Fix .isEnabled TypeScript type e530b94
.isEnabled TypeScript type e530b94https://github.com/sindresorhus/screenfull/compare/v6.0.0...v6.0.1
This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
One column per quarter.
screenfull.element is now undefined instead of null when there's no fullscreen element.document global is no longer polyfilled. If you run this package in a non-browser environment, it's up to you to polyfill required browser globals.https://github.com/sindresorhus/screenfull.js/compare/v5.2.0...v6.0.0
Make TS types looser but more practical
https://github.com/sindresorhus/screenfull.js/compare/v5.1.0...v5.2.0
Add support for options (#182) https://github.com/sindresorhus/screenfull.js/commit/00925217c94266b49892bd16e8e9ad8a707fa5e3
Return the native promise when it exists https://github.com/sindresorhus/screenfull.js/commit/536595d5d88e10d5ee9df13d477488f3637171fd
https://github.com/sindresorhus/screenfull.js/compare/v5.0.1...v5.0.2
Fix type definition https://github.com/sindresorhus/screenfull.js/commit/f0a14a30e26ccef536bc6ba1a5c35e304dd434ac
https://github.com/sindresorhus/screenfull.js/compare/v5.0.0...v5.0.1
Rename screenfull.enabled to screenfull.isEnabled 9b98fcc
screenfull.enabled to screenfull.isEnabled 9b98fccif (screenfull && screenfull.enabled) {} before using it. Now you just use if (screenfull.isEnabled) {}.require when using TypeScript 2664e56
You need to change import screenfull from 'screenfull'; to import screenfull = require('screenfull');https://github.com/sindresorhus/screenfull.js/compare/v4.2.1...v5.0.0
Properly forward promise rejections 9e4293b
https://github.com/sindresorhus/screenfull.js/compare/v4.2.0...v4.2.1
Refactor TypeScript definition to CommonJS compatible export (#131) 682314d
Add TypeScript definition (#123) 4011361
https://github.com/sindresorhus/screenfull.js/compare/v4.0.1...v4.2.0
Only try to exit fullscreen when in fullscreen 06af24e
https://github.com/sindresorhus/screenfull.js/compare/v4.0.0...v4.0.1
Return a promise from .request(), .exit(), and .toggle(). That means that this package now requires Promise or a promise polyfill. cd8afd9
Breaking:
.request(), .exit(), and .toggle(). That means that this package now requires Promise or a promise polyfill. cd8afd9Nothing published for this version
Nothing published for this version
Nothing published for this version
Add ability to remove event listeners. https://github.com/sindresorhus/screenfull.js/commit/705a16a2d715c0cac02513996037b5eea2b0e438
Add ability to remove event listeners. https://github.com/sindresorhus/screenfull.js/commit/705a16a2d715c0cac02513996037b5eea2b0e438
Nothing published for this version
Nothing published for this version
Screenfull gracefully handles non-browser JS environments. https://github.com/sindresorhus/screenfull.js/commit/aacee479770a8cdb77dc158609961434ad2589
Screenfull gracefully handles non-browser JS environments. https://github.com/sindresorhus/screenfull.js/commit/aacee479770a8cdb77dc158609961434ad258995
Added screenfull.onchange() and screenfull.onerror() to more easily listen to events. See readme.
Added screenfull.onchange() and screenfull.onerror() to more easily listen to events. See readme.
Nothing published for this version
Nothing published for this version
Drop support for Bower. Just use npm. Nothing new. Just stay with 2.0.0 if you need Bower support.
Drop support for Bower. Just use npm. Nothing new. Just stay with 2.0.0 if you need Bower support.
Remove deprecated .onchange() and .onerror() methods. Replacement: https://github.com/sindresorhus/screenfull.js#detect-fullscreen-change
Remove deprecated .onchange() and .onerror() methods.
Replacement: https://github.com/sindresorhus/screenfull.js#detect-fullscreen-change
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →