/webview

This module provides browser-like capabilities supported by Electron.

Primary LanguageJavaScriptMIT LicenseMIT

Follow on Twitter NPM Fury SecApps

Pown Webview

Pown Webview is a helper tool and meta-library for running electron-based applications.

You can use it as a command-line tool but it is also meant to be used to import electron into other pown projects such that dependencies are maintained centrally.

Credits

This tool is part of secapps.com open-source initiative.

  ___ ___ ___   _   ___ ___  ___
 / __| __/ __| /_\ | _ \ _ \/ __|
 \__ \ _| (__ / _ \|  _/  _/\__ \
 |___/___\___/_/ \_\_| |_|  |___/
  https://secapps.com

Authors

Quickstart

This tool is meant to be used as part of Pown.js but it can be invoked separately as an independent tool.

Install Pown first as usual:

$ npm install -g pown@latest

Invoke directly from Pown:

$ pown webview

Library Use

Install this module locally from the root of your project:

$ npm install @pown/webview --save

Once done, invoke pown cli:

$ POWN_ROOT=. ./node_modules/.bin/pown-cli webview

You can also use the global pown to invoke the tool locally:

$ POWN_ROOT=. pown webview

Usage

WARNING: This pown command is currently under development and as a result will be subject to breaking changes.

pown webview <url>

Webview

Options:
  --version                    Show version number  [boolean]
  --help                       Show help  [boolean]
  --proxy-server               Use a specified proxy server, which overrides the system setting.  [string]
  --proxy-bypass-list            bypass the proxy server for the given semi-colon-separated list of hosts  [string]
  --no-proxy-server            Don't use a proxy server and always make direct connections.  [boolean]
  --ignore-certificate-errors  Ignore certificate errors.  [boolean]