https://github.com/fcjr/pactester
A Pure JS* implementation of pactester.
https://github.com/fcjr/pactester
auto-config cli pac pacfile proxy
Last synced: about 2 months ago
JSON representation
A Pure JS* implementation of pactester.
- Host: GitHub
- URL: https://github.com/fcjr/pactester
- Owner: fcjr
- License: lgpl-3.0
- Created: 2022-08-29T22:56:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-01T12:36:00.000Z (almost 4 years ago)
- Last Synced: 2025-10-02T19:32:28.395Z (8 months ago)
- Topics: auto-config, cli, pac, pacfile, proxy
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/pactester
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pactester
A Pure JS* implementation of [pactester](https://github.com/manugarg/pacparser).
## Installation
```sh
npm i -g pactester
```
## Usage
```sh
Usage: pactester [options]
Pure JS* implementation of pactester.
* (Almost. Currently still relies on c++.)
Options:
-p PAC file to test (specify '-' to read from standard input)
-u URL to test for
-h Host part of the URL
-c client IP address (as returned by myIpAddress() function in PAC files),
defaults to IP address on which it is running.
-f a file containing list of URLs to be tested.
-v print version and exit
```