Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 692 Bytes

File metadata and controls

28 lines (20 loc) · 692 Bytes

pactester

A Pure JS* implementation of pactester.

Installation

npm i -g pactester

Usage

Usage: pactester [options]

Pure JS* implementation of pactester.

 * (Almost.  Currently still relies on c++.)

Options:
  -p <pacfile>    PAC file to test (specify '-' to read from standard input)
  -u <url>        URL to test for
  -h <host>       Host part of the URL
  -c <client_ip>  client IP address (as returned by myIpAddress() function in PAC files),
                  defaults to IP address on which it is running.
  -f <urlslist>   a file containing list of URLs to be tested.
  -v              print version and exit