Registry / utility / browser

browser

JSON →
library6.2.0rbrubygemsunverified

Do some browser detection with Ruby.

gem install browser
INSTALL
IMPORT
SIG · BROWSER
B
browser
utilityrubyv6.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Browser
require 'browser'

Detect if a user agent is Chrome

require 'browser' b = Browser.new('Mozilla/5.0...') b.chrome?
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Meta
1
Amazon
1
Resources
browser — gem install browser · libregistry