@tweenpics/proxy

0.4.0 • Public • Published

TweenPics - Proxy

The TweenPics proxy bring the full power of TweenPics to your development environment.

Install

You'll need Node.js version 8+ to use this tool.

npm install -g @tweenpics/proxy

Usage

  Usage: tweenpics-proxy [options]

  Proxy server to work with TweenPics locally

  Options:

    -h, --help             output usage information
    -V, --version          output the version number
    -a, --authent [token]  specify authentication token
    -b, --browser [name]   specify the browser to open (chrome)
    -l, --log [level]      log level: 0 = none, 1 = captured, 2 = all (0)
    -s, --start [url]      specify start-up page

Options

  • -a, --authent [token] (String, no default): this is the TweenPics authentication token.
  • -b, --browser [name] (String, default "chrome"): name of the browser to proxy. The proxy will automatically open the browser with a fresh profile.
  • -l, --log [level] (Integer, default 0): determines how much traffic the proxy will log (0 will log nothing, 1 will log what the proxy captures and 2 will log everything including what's not captured).
  • -s, --start [url] (String, default https://www.tweenpics.com): this is the page that should be loaded by the browser when launched. The proxy does support the file: protocol, so feel free to use local urls if needed.

Supported browsers

  • chrome (Google Chrome)
  • chrome-canary (Google Chrome Canary)
  • chromium (Chromium)
  • dartium (Dartium)
  • firefox (Mozilla Firefox)
  • firefox-aurora (Mozilla Firefox Aurora)
  • firefox-dev (Mozilla Firefox Developer Edition)
  • firefox-nightly (Mozilla Firefox Nightly)

Overriding options with environment variables

  • TWEENPICS_AUTHENT can be used to override the authentication token.

Readme

Keywords

none

Package Sidebar

Install

npm i @tweenpics/proxy

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

78.6 kB

Total Files

4

Last publish

Collaborators

  • balda
  • florentb
  • jaubourg