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

@37bytes/front-proxy

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@37bytes/front-proxy

Proxy for special URL with predefined cookies. Created for local developing without CORS problems.

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

arguments

PORT=9000
PATH_TO_CONFIG=.env.proxy
PROXY_MODE=json

PROXY_MODE values: json (default), file.

.env

API_HOST=www.example.com
COOKIE=demo=debug;test=123

usage

  • touch .env.proxy
  • fill config
  • npx -y front-proxy or npx -y front-proxy PORT=9001 PATH_TO_CONFIG=proxy/.env.proxy PROXY_MODE=file

Yes, that's it.

notes

  • use process.env.NODE_TLS_REJECT_UNAUTHORIZED with value 0 if proxy has problems with API certificate

version history

2.0.0

  • first public version

FAQs

Package last updated on 09 Nov 2022

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