proxy-setter

1.0.7 • Public • Published

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");
  });

Readme

Keywords

none

Package Sidebar

Install

npm i proxy-setter

Weekly Downloads

8

Version

1.0.7

License

ISC

Unpacked Size

2.36 kB

Total Files

4

Last publish

Collaborators

  • serkyron