pac-generator
v0.1.9
Published
Generate PAC from ip/domain-lists
Downloads
3
Maintainers
Readme
PAC-Generator
Install
npm install -g pac-generator
Usage
pac-generator --config ./config.js
Default config location: $HOME/.pac-generator.config.js
Config example
module.exports = {
outputPacFile: './proxy.pac',
proxies: [
{
// Connection in PAC format
connection: 'SOCKS5 127.0.0.1:7777',
// Custom domains
domains: ['wixmp.com'],
// Domain-lists URLs
domainsUrls: ['https://community.antifilter.download/list/domains.lst'],
// Custom IPs
ips: [],
// IP-lists URLs
ipsUrls: ['https://antifilter.download/list/allyouneed.lst'],
},
],
};