{"_id":"@dmitrytavern/website-screenshoter","_rev":"2-a8b4478342b0e601eaae82d07ffc7772","name":"@dmitrytavern/website-screenshoter","dist-tags":{"latest":"2.1.1"},"versions":{"2.0.0":{"name":"@dmitrytavern/website-screenshoter","version":"2.0.0","description":"Make screenshots and device emulations form your terminal","license":"MIT","author":{"name":"Dmitry Tavern","url":"https://github.com/dmitrytavern"},"repository":{"url":"git+https://github.com/dmitrytavern/website-screenshoter.git"},"bugs":{"url":"https://github.com/dmitrytavern/website-screenshoter/issues"},"main":"index.js","keywords":["web","website","screenshots","emulations","mobile"],"bin":{"website-screenshoter":"index.js"},"dependencies":{"commander":"^10.0.0","puppeteer":"^19.7.3"},"gitHead":"da75e0347ebdb0706da815b63fa07463dcc4ee01","homepage":"https://github.com/dmitrytavern/website-screenshoter#readme","_id":"@dmitrytavern/website-screenshoter@2.0.0","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-FUyoe7wLLquaFuZxePpHbn2VnUsQmz666+byAZuO/CboQeC31fMyQCsjCA0aaxjgxrJ5isws/Z+0btIAiIis4Q==","shasum":"7376b075fd3aa5a96a8b53969aa9cf72775c4d63","tarball":"https://registry.npmjs.org/@dmitrytavern/website-screenshoter/-/website-screenshoter-2.0.0.tgz","fileCount":4,"unpackedSize":8436,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvszTxWMKrDDaKqTyilQvD55M71p6lIzq2fKh0/L6RuwIgOLV4pXxAvuSs48wHeZZhlXOO+Eh3p5d0y7SjWqb+TO0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCjRuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpO1RAAkRCHWZZDnprISaAiVmGH15zdlrRDL4vLq535vinYuqSXtosh\r\nR9mh4WCZLA9/7/sC0eBc54b0AL/F9ETg9h4yowdWKR1obs1y29NGUx6gdjba\r\nQ6BzYV63Gut1z/l/MpQI3zrYjjvEYXAGjfgJfCcRl89KmXFX+ZSdxchNiV5r\r\ndLe76/i2Ih0ymKfvBJlXgC2xCoQ1dcQ+uGkoveyjHs3xG11Xh1qj46vDfseY\r\nS3ICmy/NIfPzj0lR9W+X0DjmhwuHCOJePMXizM8OdXCYJL62NVE/R3q6LNOS\r\nrBWzNneuV+geTYUIFXLC0ehwcTrNSmd9odC5k5QYp7Y41BHVFgS/zuyvuZSr\r\nd/WsTGNY5bBEbrz7OqbpqLhX/x7NrYDwAFJ4W2WgsVHTqiYLkCLB3CwbBr60\r\nCmNzMI5MGshoiw4wUZkvDIwfSQ9s/Y+f4Zw1jhpISUrqIw8G8zyb9hckcEC3\r\nTxEYxmudHVTjIBVvgPKyjJBSfjUWl0Y54OnFYQo0Sr3qlI6aw6VDZxxVFrzM\r\nykt85k9r95uGx8LqAIY826djPKyh1X/01//Y+UV3Hnop/NZkiCilbFIpgtdO\r\ncEQJhA3LUJJhm/KDf5P9xwvNrcKBVEiQiVLS1Vq435utt++eyb2jPtvW0oGR\r\ni5Vraai1T6RqIH4XEHFMWwBCIcIrkKMHc3M=\r\n=3Td/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dmitry.tavern","email":"dogger.work@gmail.com"},"directories":{},"maintainers":[{"name":"dmitry.tavern","email":"dogger.work@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/website-screenshoter_2.0.0_1678390382013_0.7136821460953033"},"_hasShrinkwrap":false},"2.0.1":{"name":"@dmitrytavern/website-screenshoter","version":"2.0.1","description":"Make screenshots and device emulations form your terminal","license":"MIT","author":{"name":"Dmitry Tavern","url":"https://github.com/dmitrytavern"},"repository":{"url":"git+https://github.com/dmitrytavern/website-screenshoter.git"},"bugs":{"url":"https://github.com/dmitrytavern/website-screenshoter/issues"},"main":"index.js","keywords":["web","website","screenshots","emulations","mobile"],"bin":{"website-screenshoter":"index.js"},"dependencies":{"commander":"^10.0.0","puppeteer":"^19.7.3"},"gitHead":"c9fe264009f0e1dd3d823c88b98fcb2702e80650","homepage":"https://github.com/dmitrytavern/website-screenshoter#readme","_id":"@dmitrytavern/website-screenshoter@2.0.1","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-u2CbdfZnR845MrY0HybC9zAHPmZcbumv3pqPvtLDkNoYmNd1cGj2LCSkfLPnf+Ra96mnLqSlkYEDZS+QH9yuNw==","shasum":"963f3e693cc0e4a91f2a4a822130301fb4c8d722","tarball":"https://registry.npmjs.org/@dmitrytavern/website-screenshoter/-/website-screenshoter-2.0.1.tgz","fileCount":4,"unpackedSize":8457,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8CRIFWfmHjVDahFVbpGeHJrJgRVSwB77gO7/U9gk0GAiEAl6Dbvw528pLw/OblV0Ok9C2irH+FuPs4ioJgy3mOhaE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCjd6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6tw//UkHcVXDGHW2t6Mw2ih6LMx+5qeDxRBQJU2AP7eR2krrvvg1F\r\nwxWhBiaSUxznOVtr+rtjVg8IXfCzajZSFCDQE4thNiK7V0RfOoNZOy0hiM+U\r\nhcYqwkjbfPabX7HTPGP4BS0it9gYwPimUC0qvN3AwoHXz/ZheU+av5a85s2L\r\nLA/sn6UT+w7N8ZgMUbJq4GM6ObxZ/nDpiezt02l5k+1xqsNkdvhCDuSTxfER\r\n9+G6kuJ3E1UJAjMtZYt0nTs3aFsHehMioNqe4mc4YDMz1XOI9R8ljw+/GexF\r\nbB+dL55zmkBiHLMF22vZq8Xpw1Bizz+WZzMXHZvXuTWowzqIVhhuqdzw8geP\r\nFnUMGLXzS7iGTDdhVf4KtffAgWpkAjclLgbZOa518tcqPu7WNBpbWB8IYC9L\r\nJioy6HxNBm1jbQWV3BAtgdwyXYFHhFr0RbeK5G4JFvevaPmfmMHW3n9vVqzB\r\nsqXMrAtsJjNliHOoJtT3esAPTRsQkrUxWkZVFBRsy0A9RnUaoXoK+7kOp3ay\r\nK+jq+x/aEQf8HG9U8LWZAL011GbKHHIYCkYX0wyR9eRGTWCUJUARSUXjN+L+\r\nfQ3sg3TebPKyIAzsSJV76hYStuckM745UxGaQWHA+xmX+ihZg7lCca5OvlGu\r\nAxLBNnp0Z7+5LiA1SeEx8NZHSwP0B96FQXw=\r\n=gu1u\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dmitry.tavern","email":"dogger.work@gmail.com"},"directories":{},"maintainers":[{"name":"dmitry.tavern","email":"dogger.work@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/website-screenshoter_2.0.1_1678391162059_0.05237212791676771"},"_hasShrinkwrap":false},"2.1.1":{"name":"@dmitrytavern/website-screenshoter","version":"2.1.1","description":"Make screenshots and device emulations form your terminal","license":"MIT","author":{"name":"Dmitry Tavern","url":"https://github.com/dmitrytavern"},"repository":{"url":"git+https://github.com/dmitrytavern/website-screenshoter.git"},"bugs":{"url":"https://github.com/dmitrytavern/website-screenshoter/issues"},"main":"index.js","keywords":["web","website","screenshots","emulations","mobile"],"bin":{"website-screenshoter":"index.js"},"dependencies":{"commander":"^11.0.0","puppeteer":"^20.7.4"},"gitHead":"bffc67d90485d4aaed0bfb3f3737c5e52ed82a1f","homepage":"https://github.com/dmitrytavern/website-screenshoter#readme","_id":"@dmitrytavern/website-screenshoter@2.1.1","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-kQqAnCs6ZkYwhwLAtvCtaRPXQ5G3LscG1bUvFCFn7xw3Ql7kKRUklDAN81ECLq51d9ND4+GG0yWIuM04HkYScw==","shasum":"38a4571a4ded6506818f07623600f503c324cb90","tarball":"https://registry.npmjs.org/@dmitrytavern/website-screenshoter/-/website-screenshoter-2.1.1.tgz","fileCount":4,"unpackedSize":8476,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHO6T34sPjWcntOwUdsGQWkuB+qAuo3Rst5h+cyGFr+SAiEAuF1vxEcU+6WCxEfAkrbwoAqu6KQ/mzfX8YAirdA9xQk="}]},"_npmUser":{"name":"dmitry.tavern","email":"dogger.work@gmail.com"},"directories":{},"maintainers":[{"name":"dmitry.tavern","email":"dogger.work@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/website-screenshoter_2.1.1_1688295339600_0.510691186146357"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-09T19:33:01.936Z","2.0.0":"2023-03-09T19:33:02.167Z","modified":"2023-07-02T10:55:39.944Z","2.0.1":"2023-03-09T19:46:02.225Z","2.1.1":"2023-07-02T10:55:39.808Z"},"maintainers":[{"name":"dmitry.tavern","email":"dogger.work@gmail.com"}],"description":"Make screenshots and device emulations form your terminal","homepage":"https://github.com/dmitrytavern/website-screenshoter#readme","keywords":["web","website","screenshots","emulations","mobile"],"repository":{"url":"git+https://github.com/dmitrytavern/website-screenshoter.git"},"author":{"name":"Dmitry Tavern","url":"https://github.com/dmitrytavern"},"bugs":{"url":"https://github.com/dmitrytavern/website-screenshoter/issues"},"license":"MIT","readme":"<h1 align=\"center\"> Website Screenshoter </h1>\n\n<p align=\"center\"> Makes web screenshots and mobile emulations from the command line. </p>\n\n<p align=\"center\"> Fork of <a href=\"https://github.com/vladocar/screenshoteer\"> vladocar/screenshoteer</a></p>\n\n<p align=\"center\"><img src=\"carbon-shot.png\" /></p>\n<hr/>\n\n<p>Tool based on <a href=\"https://github.com/GoogleChrome/puppeteer\">puppeteer</a>. </p>\n\n<h4>Installation </h4>\n\n```shell\nnpm i -g @dmitrytavern/website-screenshoter\n```\n\n<p>You can use  screenshoter like this:</p>\n\n```shell\nwebsite-screenshoter  --url https://www.example.com\n\nor .html localy copy the url path from the browser\n\nwebsite-screenshoter --url file:///Users/../index.html\n\nwebsite-screenshoter --url file:///C:/Users/../Random-HTML-file.html\n```\n\n<p>And with the help of puppeteer(Headless Chrome) it will generate screenshot of the entire web page.</p>\n\n<p>\nParameters:\n\n-h help  \n--url web page url  \n--emulate - emulate web device example: --emulate \"iPhone 6\"  \n--fullpage - can be true or false. It will take screenshot of entire web page if is true. True is the default parameter.  \n--pdf - generate additional pdf  \n--w - width of the Web Page in px  \n--h - height of the Web Page in px  \n--waitfor - wait time for the page load in milliseconds  \n--waitforselector - wait for the selector to appear in page\n--el - css selector document.querySelector  \n--auth - basic http authentication  \n--no - exclude \"image\", \"stylesheet\", \"script\", \"font\"  \n--click - example: \".selector>a\" excellent way to close popups or to click some buttons on the page.  \n--file - output file name (optional, otherwise based on page title and timestamp)  \n--theme - switch to dark or light color theme  \n--vd - Emulate vision deficiency 'achromatopsia', 'deuteranopia', 'protanopia', 'tritanopia', 'blurredVision', and 'none'\n\n<p>\n\n<h4>Example: </h4>\n\n```shell\nwebsite-screenshoter  --url https://news.ycombinator.com --fullpage false\n\nwebsite-screenshoter  --url https://www.reddit.com/r/nodejs --emulate \"iPhone 7\"\n\nwebsite-screenshoter  --url https://www.nytimes.com  --emulate \"Nexus 4\"\n\nwebsite-screenshoter --url https://www.reddit.com/r/javascript/ --w 600 --h 800 --fullpage false\n\nwebsite-screenshoter --url https://www.reddit.com/r/javascript/ --w 600 --h 0 --fullpage false\n\nwebsite-screenshoter --url https://lobste.rs --pdf\n\nwebsite-screenshoter --url https://lobste.rs --w 500\n\nwebsite-screenshoter --url  https://news.ycombinator.com/item?id=18598672 --el \".fatitem\"\n\nwebsite-screenshoter --url  https://site.com --auth \"username;password\"\n\nwebsite-screenshoter --url https://www.nytimes.com --no \"image\"\n\nwebsite-screenshoter --url https://www.nytimes.com --no \"script\"\n\nwebsite-screenshoter --url https://www.economist.com/ --click \".ribbon__close-button\"\n\nwebsite-screenshoter --url file:///Users/../index.html\n\nwebsite-screenshoter --url https://www.slashdot.org --file /tmp/slashdot.png\n\nwebsite-screenshoter --url https://mxb.dev/blog/color-theme-switcher/ --theme dark\n\nwebsite-screenshoter --url https://news.ycombinator.com --vd blurredVision\n```\n\n<p> List of of supported mobile devices: https://github.com/GoogleChrome/puppeteer/blob/master/DeviceDescriptors.js\n</p>\n\n<h3>License</h3>\n\nMIT - check repo files\n\nCopyright (c) 2023-present, Dmitry Tavern\n","readmeFilename":"readme.md"}