Skip to content

fcjr/pactester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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