Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sumoguri

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sumoguri

The CLI command for crawl static website and take screenshots

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

sumoguri(素潜り)

CircleCI codecov

The CLI command for crawl static website and take screenshots.

Usage

sumoguri --help

Example: Run with external url

  • URL: http://example.com/
  • Viewports: 1680x1050, 828x1792
  • Locales: en-US, ja-JP

sumoguri http://example.com --locales en-US,ja-JP --viewports 1680x1050,828x1792

Then sumoguri will generate these screenshots:

  • __screenshots__/ja-JP/828x1792/index.png
  • __screenshots__/en-US/828x1792/index.png
  • __screenshots__/en-US/1680x1050/index.png
  • __screenshots__/ja-JP/1680x1050/index.png

Example: Run with localhost

$ ls public
index.html
$ npx serve public &
[1] 50730

npx: installed 78 in 5.382s

   ┌───────────────────────────────────────────────────┐
   │                                                   │
   │   Serving!                                        │
   │                                                   │
   │   - Local:            http://localhost:5000       │
   │   - On Your Network:  http://192.168.10.33:5000   │
   │                                                   │
   │   Copied local address to clipboard!              │
   │                                                   │
   └───────────────────────────────────────────────────┘

$ sumoguri http://localhost:5000
save __screenshots__/en-US/800x600/index.png

Contribution

  1. Fork this repository
  2. Write your code and tests
  3. Run tests
  4. Create pull request to master branch

Development

git clone git@github.com:Leko/sumoguri.git
cd sumoguri
npm i

License

This package under MIT license.

FAQs

Package last updated on 05 Nov 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc