0.0.4 ā¢ Published 6 years ago
simple-page v0.0.4
š SimplePage
š CLI to display one web page
npm install simple-page -g
Usage: simple-page [<url>] [...<args>]
where <url>
is URL of the page and <args>
is list of parameters.
ā width
--width, -w
width of the window in pixels; default: 800
simple-page --width 400 http://example.com
simple-page --width=400 http://example.com
simple-page -w 400 http://example.com
simple-page -w=400 http://example.com
ā height
--height, -h
height of the window in pixels; default: 600
simple-page --height 400 http://example.com
simple-page --height=400 http://example.com
simple-page -h 400 http://example.com
simple-page -h=400 http://example.com
šŗ full screen
--full-screen, -f
opening the window to full screen; default: false
simple-page --full-screen http://example.com
simple-page -f http://example.com
š protocol
--protocol, -p
http or https; default: http
simple-page example.com --protocol https
simple-page example.com --protocol=https
simple-page example.com -p https
simple-page example.com --p=https
š https
--https
alias for --protocol=https
; default: false
simple-page example.com --https
ā dev tools
--dev-tools, -d
open Chrome Dev Tools; default: false
simple-page example.com --dev-tools
simple-page example.com -d
ā¹ļø help
--help, -H
helpful information
simple-page --help
simple-page -h
š¢ version
--version, -v
product version
simple-page --version
simple-page -v
š Say "Thank you, developer!"