Skip to content

serkyron/proxy-setter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy setter

This package currently only supports Windows OS, support for Linux will be added later.

npm install -S proxy-setter

Basic usage

const {setProxy} = require("proxy-setter");

setProxy("on", "socks=dolphinfiber.ddns.net:11118")
  .then(() => {
    console.log("Proxy changed");
  });

setProxy("off")
  .then(() => {
    console.log("Proxy disabled");
  });

About

JS wrapper for OS dependent proxy setters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published