browser-detection [](https://travis-ci.org/sub2home/browser-detection) ========================
npm install browser-detectionbrowser-detection 
========================
Lightweight package to get information about browser, version and OS.
sh
$ bower install browserdetection --save
`Usage
#### Get Data
`javascript
var data = browserDetection();console.log(data.browser); // chrome
console.log(data.version); // 29
console.log(data.os); // osx
`#### Add CSS classes to
html tagJavascript:
`javascript
browserDetection({
addClasses: true
});
`CSS:
`css
html{
background: white;
}/ Internet Explorer 7 specific /
html.ie-7{
background: red;
}
/ Only for OSX users with firefox /
html.osx.firefox{
background: blue;
}
``