0.0.4 ā€¢ Published 6 years ago

simple-page v0.0.4

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

šŸ“„ 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!"