Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

proxy-regent

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-regent

A proxy server that caches responses

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Proxy Regent

A proxy server that caches responses

Installation and usage

To install the proxy

$ npm i -g proxy-regent

To start the proxy

$ proxy-regent -t http://your-api.url

By default, it uses 3003 port

You can see cached requests, enable/disable on http://localhost:3004

CLI options

-t <target>, --target <target>: proxy target

-c <cachePath>, --cachePath <cachePath>: Path to cache file (default tmp/cache-data.json)

-p <port>, --port <port>: Port (default 3003)

-sp <settingsPort>, --settingsPort <settingsPort>: Settings page port (default 3004)

-v, --verbose

Development

To install dependencies

$ npm i
$ ts-patch install

To run

$ npm run start:server
$ npm run start:client

To build

$ npm run build

Issues

If you identify any errors in the library, or have an idea for an improvement, please open an issue.

Keywords

FAQs

Package last updated on 11 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc