os-proxy-cli

Manage system-wide proxy settings.

Usage no npm install needed!

<script type="module">
  import osProxyCli from 'https://cdn.skypack.dev/os-proxy-cli';
</script>

README

os-proxy-cli Build status for os-proxy-cli on Circle CI.

Manage system-wide proxy settings.

Why?

  • Cross-platform behavior.
  • Uses native APIs for managing config.
  • Can monitor external changes via events.

Install

npm install os-proxy-cli --global

Usage

$ os-proxy --help

  Usage
    $ os-proxy <set|get|enable|disable>

  Example
    $ os-proxy set localhost:1234

Get the currently configured proxy.

$ os-proxy get
localhost:8000

Change the proxy configuration.

$ os-proxy set --hostname=localhost --port=1234

Contributing

See our contributing guidelines for more details.

  1. Fork it.
  2. Make a feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

MPL-2.0 © Seth Holladay

Go make something, dang it.