Registry / utility / mssola-user-agent

mssola-user-agent

JSON →
library0.6.0gogounverified

Package user_agent implements an HTTP User Agent string parser, extracting browser, OS, and device information.

go get github.com/mssola/user_agent
INSTALL
IMPORT
SIG · MSSOLA-USER-AGENT
M
mssola-user-agent
utilitygov0.6.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.

useragent
github.com/mssola/user_agent

Parses a User-Agent string and checks if it's mobile

package main import ( "fmt" "github.com/mssola/user_agent" ) func main() { ua := useragent.New("Mozilla/5.0 ...") fmt.Println(ua.Mobile()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
mssola-user-agent — go get mssola-user-agent · libregistry