Socket
Socket
Sign inDemoInstall

connection-string-q3

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    connection-string-q3

This is a small helper package for `q3-api` projects deployed via Heroku, looking to leverage a Static IP vendor like QuotaGuard. Since the Q3 framework relies on `process.env.CONNECTION`, this helper dynamically assembles this vendor with proxy options.


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

connection-string-q3

This is a small helper package for q3-api projects deployed via Heroku, looking to leverage a Static IP vendor like QuotaGuard. Since the Q3 framework relies on process.env.CONNECTION, this helper dynamically assembles this vendor with proxy options. Simply require the package in the first line of both index.js and worker.js, then ensure the following variables exist:

// SRV connection string
process.env.MONGO = '';

// Proxy URL
process.env.QUOTAGUARDSTATIC_URL = '';

// Optional!
// QuotaGuard's HTTP and SOCKS5 connection strings only differ in port
// so we default to 1080 unless this value exists
process.env.QUOTAGUARDSTATIC_URL_PORT = '';

FAQs

Last updated on 28 Mar 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc