visibilityjs | Wrapper for the Page Visibility API

 by   ai JavaScript Version: 2.0.1 License: MIT

kandi X-RAY | visibilityjs Summary

kandi X-RAY | visibilityjs Summary

visibilityjs is a JavaScript library. visibilityjs has no vulnerabilities, it has a Permissive License and it has medium support. However visibilityjs has 1 bugs. You can install using 'npm i visibilityjs-upgrade' or download it from GitHub, npm.

Visibility.js is a wrapper for the Page Visibility API. It hides vendor prefixes and adds high level functions. Page Visibility API allows you to determine whether your web page is either visible to a user or hidden in background tab or prerendering. It allows you to use the page visibility state in JavaScript logic and improve browser performance by disabling unnecessary timers and AJAX requests, or improve user interface experience (for example, by stopping video playback or slideshow when user switches to another browser tab). Moreover, you can detect if the browser is just prerendering the page while the user has still not opened the link, and don’t count this as a visit in your analytics module, or do not run heavy calculations or other actions which will disable the prerendering. Page Visibility API is natively supported by all browsers. For old browsers you can use lib/visibility.fallback.js with focus/blur hack (note that this hack has an issue: when browser just lose focus but still visible for user, its state will change to [hidden]).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              visibilityjs has a medium active ecosystem.
              It has 1801 star(s) with 116 fork(s). There are 66 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 23 have been closed. On average issues are closed in 25 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of visibilityjs is 2.0.1

            kandi-Quality Quality

              visibilityjs has 1 bugs (0 blocker, 0 critical, 1 major, 0 minor) and 0 code smells.

            kandi-Security Security

              visibilityjs has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              visibilityjs code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              visibilityjs is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              visibilityjs releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.
              visibilityjs saves you 13 person hours of effort in developing the same functionality from scratch.
              It has 38 lines of code, 0 functions and 9 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of visibilityjs
            Get all kandi verified functions for this library.

            visibilityjs Key Features

            No Key Features are available at this moment for visibilityjs.

            visibilityjs Examples and Code Snippets

            No Code Snippets are available at this moment for visibilityjs.

            Community Discussions

            No Community Discussions are available at this moment for visibilityjs.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install visibilityjs

            You can install using 'npm i visibilityjs-upgrade' or download it from GitHub, npm.

            Support

            To run tests you need node.js and npm. For example, in Ubuntu run:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries