2.1.3 • Published 2 years ago

cross-os-proxy-auth v2.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

cross-os-proxy-auth

configure system proxy settings

support platforms:

  • windows
  • macOS

Install

$ npm install --save cross-os-proxy-auth

Usage

const osProxy = require('cross-os-proxy-auth');

(async () => {
    await osProxy.setProxy('127.0.0.1', 9999, 'username', 'password'); // set http and https proxy
    console.log('done');
})();

(async () => {
    await osProxy.closeProxy(); // close http and https proxy
    console.log('done');
})();
2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago