devtools-detect

Detect if DevTools is open and its orientation

MIT License

Downloads
12K
Stars
2K
Committers
9

Bot releases are visible (Hide)

devtools-detect - Latest Release

Published by sindresorhus almost 2 years ago

devtools-detect -

Published by sindresorhus about 3 years ago

Breaking

  • This package is now pure ESM. Please read this.
  • There's no longer any window.devtools global. Use import to import the package.

https://github.com/sindresorhus/devtools-detect/compare/v3.0.1...v4.0.0

devtools-detect -

Published by sindresorhus over 4 years ago

  • Fix false negative on page load (#38) 7b6b2d0

https://github.com/sindresorhus/devtools-detect/compare/v3.0.0...v3.0.1

devtools-detect -

Published by sindresorhus over 5 years ago

Breaking:

  • Rename .open to .isOpen cfeecca
  • Make .orientation return undefined instad of null when not open 5e78921
  • Modernize the code and require modern browsers 2947b1b

Enhancements:

  • Add TypeScript definition (#34) 0346d26

https://github.com/sindresorhus/devtools-detect/compare/v2.2.0...v3.0.0

Package Rankings
Top 1.79% on Npmjs.org
Top 7.98% on Bower.io