You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/neodyme-labs/user_agent_parse

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/neodyme-labs/user_agent_parse

v0.0.1
Source
Go
Version published
Created
Source

UserAgent Parser

This Caddy Module allows to parse the user agent and splits it into it's components.

You can access the components via these placeholders:

  • {user_agent.name}
  • {user_agent.version}
  • {user_agent.os}
  • {user_agent.os_version}
  • {user_agent.device}
  • {user_agent.mobile}
  • {user_agent.tablet}
  • {user_agent.desktop}
  • {user_agent.bot}
  • {user_agent.url}

The module is uses the parser from here.

Install

First, the xcaddy command:

$ go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest

Then build Caddy with this Go module plugged in. For example:

$ xcaddy build --with github.com/neodyme-labs/influx_log

FAQs

Package last updated on 07 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.