pacparser
« Back to VersTracker
Description:
Library to parse proxy auto-config (PAC) files
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: networking proxy pac c-library developer-tools
Install: brew install pacparser
About:
Pacparser is a lightweight C library designed to parse Proxy Auto-Config (PAC) files, which are used to determine the appropriate proxy for a given URL. It provides a simple API to evaluate JavaScript-based PAC functions, enabling applications to implement dynamic proxy selection without a full browser engine. Its primary value is offering a robust, embeddable solution for network applications requiring proxy configuration logic.
Key Features:
  • Lightweight C library for easy integration
  • Parses and evaluates standard JavaScript PAC files
  • Includes a command-line tool for testing and debugging
  • Supports both HTTP and SOCKS proxy configurations
Use Cases:
  • Embedding proxy logic into custom network clients or servers
  • Building command-line utilities to test PAC file validity
  • Implementing dynamic proxy selection in non-browser applications
Alternatives:
  • node-pacparser – Node.js wrapper around the native pacparser library, suitable for JavaScript environments.
  • libproxy – A more comprehensive proxy configuration library that also handles PAC but is larger in scope and size.
Version History
Detected Version Rev Change Commit