This package is under active development. Check the repository for development progress.
Xuap is a User-Agent parser for the Elixir ecosystem. Xuap uses the official uap-core regex rules and compiles them into native Elixir pattern matching at build time. And, Xuap will offer zero-latency lookups suitable for high-throughput web applications.
Pre-Alpha. This release reserves the namespace on Hex.pm and establishes the project skeleton. No parsing logic is currently implemented.
- Compile-Time Optimization: Pre-compilation of
regexes.yamlinto native BEAM bytecode. - Zero Runtime Dependencies: Heavy lifting is done at compile time.
- Plug Integration: Seamless integration with Phoenix applications.
- Erlang/OTP 28.1+
- Elixir 1.19.1+
Once a functional version is released, you will be able to install the package by adding xuap to your list of dependencies in mix.exs:
def deps do
[
{:xuap, "~> 0.1.0"}
]
end