Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    browser-typepublic

    browser-type

    get browser type

    Installation

    Install with component(1):

    $ component install brighthas/browser-type
    

    Install for node.js

    $ npm install --save browser-type
    

    Example

    var browser = require("browser-type").browser,
        uaMatch = require("browser-type").uaMatch;
        
    var browser2 = uaMatch(/* user-agent info */);
    
    browser.type // msie / opera ...
    browser.version  // 22.1 23 ...
    

    License

    MIT

    Keywords

    none

    install

    npm i browser-type

    Downloadsweekly downloads

    0

    version

    0.0.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar