Registry / utility / mileusna-useragent

mileusna-useragent

JSON →
library1.3.5gogounverified

Parses user agent strings into structured data including browser, OS, and device information.

go get github.com/mileusna/useragent
INSTALL
IMPORT
SIG · MILEUSNA-USERAGENT
M
mileusna-useragent
utilitygov1.3.5
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/mileusna/useragent

Parses a user agent string and prints the browser name and OS.

package main import ( "fmt" "github.com/mileusna/useragent" ) func main() { ua := useragent.Parse("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36") fmt.Println(ua.Name, ua.OS) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
mileusna-useragent — go get mileusna-useragent · libregistry