browser-type

0.0.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i browser-type

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • brighthas