Neatly Positioned Magazines

    angular-detect-browser

    1.0.2 • Public • Published

    angular-detect-browser 🍆

    This is an implementation of the detect-browser module for angularJS. Thanks People from the Detect-Browser project Module in AngularJS to detect browser version.

    Use:

    Import Module:

    angular.module('App', ['angular-detect-browser']);

    Import Controller:

    angular.controller('Controller', ['AngularDetectBrowser', function(AngularDetectBrowser) {
        const {name, os, version} = AngularDetectBrowser.browser();
    }]);

    Only Method:

    AngularDetectBrowser.browser(); // return: Object { name: "firefox", version: "59.0.0", os: "Linux" }

    Install

    npm i angular-detect-browser

    DownloadsWeekly Downloads

    37

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    33.5 kB

    Total Files

    6

    Last publish

    Collaborators

    • felipemengatto