{"_id":"@bottech/webshot","_rev":"2-b96a31a6f67cb85e7ee0c618e8d00e66","name":"@bottech/webshot","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@bottech/webshot","version":"0.1.0","keywords":["screenshot"],"author":{"name":"Jason Pickens","email":"jasonpickensnz@gmail.com"},"license":"ISC","_id":"@bottech/webshot@0.1.0","maintainers":[{"name":"steinybot","email":"jasonpickensnz@gmail.com"}],"homepage":"https://github.com/BotTech/webshot","bugs":{"url":"https://github.com/BotTech/webshot/issues"},"bin":{"webshot":"dist/src/index.js"},"dist":{"shasum":"e1510430cda14364e00c07f0d585ce822d8ebb1b","tarball":"https://registry.npmjs.org/@bottech/webshot/-/webshot-0.1.0.tgz","fileCount":19,"integrity":"sha512-jFrarLl/ouRHqAKuTGc38bTRCIlRIQaydD3iqsOcA5Yh2gG8FV1ap9sCh3V6TV7QDFkJXc3pLQ1x6XRfmUX+2Q==","signatures":[{"sig":"MEUCIFFOTPnXzxiq3gx8JItg52s+9GUZOr2Ik9AHT+JC1kjKAiEA4u4QthR0MpbgjKCK4uS9GW39OfZflzIBDpUYoIrgIZI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25425},"main":"dist/src/index.js","type:":"commonjs","exports":{".":"./dist/src/index.js","./*":"./dist/src/*.js"},"gitHead":"b2a07c40adab512df5adc5ff3fd13c0fe64ed3f8","scripts":{"build":"node esbuild.config.mjs","clean":"rm -rf dist","start":"node ."},"_npmUser":{"name":"steinybot","email":"jasonpickensnz@gmail.com"},"_npmVersion":"10.8.2","description":"Takes a screenshot of a webpage including any pesky iframes with cross origin content.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"commander":"^12.1.0","puppeteer":"^23.3.1"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.23.1","ts-node":"^10.9.2","fast-glob":"^3.3.2","typescript":"^5.6.2"},"_npmOperationalInternal":{"tmp":"tmp/webshot_0.1.0_1726653200195_0.5449608152512104","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@bottech/webshot","version":"0.1.1","keywords":["screenshot"],"author":{"name":"Jason Pickens","email":"jasonpickensnz@gmail.com"},"license":"ISC","_id":"@bottech/webshot@0.1.1","maintainers":[{"name":"steinybot","email":"jasonpickensnz@gmail.com"}],"homepage":"https://github.com/BotTech/webshot","bugs":{"url":"https://github.com/BotTech/webshot/issues"},"bin":{"webshot":"dist/src/index.js"},"dist":{"shasum":"b07b49b0b7993613e5e45136adcef2724c659352","tarball":"https://registry.npmjs.org/@bottech/webshot/-/webshot-0.1.1.tgz","fileCount":19,"integrity":"sha512-IlA6CfqW/jBy28ZLiI6jZkez1DFk8vVElN/MRfffB0KGaFfFZs5nhi+w4RqxHbbh/NHpYRu1+OIfd9R+H/dSIQ==","signatures":[{"sig":"MEUCIQDBr1eS6ZgE6Z4OwB+1X9w5NOilyPjpABMqwWTPn7RnmwIgLpXfH3n1ijLMyRXFjBKBjsXG63NbaQqbYIVSUTBiYts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25920},"main":"dist/src/index.js","type:":"commonjs","exports":{".":"./dist/src/index.js","./*":"./dist/src/*.js"},"gitHead":"895de7cee6e1c64f5d547287a30edca655748ec2","scripts":{"build":"node esbuild.config.mjs","clean":"rm -rf dist","start":"node ."},"_npmUser":{"name":"steinybot","email":"jasonpickensnz@gmail.com"},"_npmVersion":"10.8.2","description":"Takes a screenshot of a webpage including any pesky iframes with cross origin content.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"commander":"^12.1.0","puppeteer":"^23.3.1"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.23.1","ts-node":"^10.9.2","fast-glob":"^3.3.2","typescript":"^5.6.2"},"_npmOperationalInternal":{"tmp":"tmp/webshot_0.1.1_1726655160726_0.15224943096986743","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@bottech/webshot","version":"0.1.2","description":"Takes a screenshot of a webpage including any pesky iframes with cross origin content.","author":{"name":"Jason Pickens","email":"jasonpickensnz@gmail.com"},"keywords":["screenshot"],"homepage":"https://github.com/BotTech/webshot","bugs":{"url":"https://github.com/BotTech/webshot/issues"},"license":"ISC","type:":"commonjs","main":"dist/src/index.js","bin":{"webshot":"dist/src/index.js"},"exports":{".":"./dist/src/index.js","./*":"./dist/src/*.js"},"scripts":{"build":"node esbuild.config.mjs","start":"node .","clean":"rm -rf dist"},"dependencies":{"commander":"^12.1.0","puppeteer":"^23.3.1"},"devDependencies":{"esbuild":"^0.23.1","fast-glob":"^3.3.2","ts-node":"^10.9.2","typescript":"^5.6.2"},"_id":"@bottech/webshot@0.1.2","gitHead":"cf66cddc46d82f3af7888e9c8d4ce34e5a5be705","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-9c64aS7Z1FFqEr3ts7dlPyYhKEy2tc3rWNP71iwcnU4xQPIT6ZMB1LlTAOJMi9oGOEJ3Bq0Sdzpanj6trIYRGA==","shasum":"9527da007f148354658fa04ea02b08f06c7e0752","tarball":"https://registry.npmjs.org/@bottech/webshot/-/webshot-0.1.2.tgz","fileCount":19,"unpackedSize":25884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBX0+Q6M6D98WTsEcGriyjsTNigpxQ9hQTyWJT/xF1noAiEAgQVZPHv84ywmxbiEOpTLCX5tnkWQITrq/gWDKNeTMvo="}]},"_npmUser":{"name":"steinybot","email":"jasonpickensnz@gmail.com"},"directories":{},"maintainers":[{"name":"steinybot","email":"jasonpickensnz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webshot_0.1.2_1726655553720_0.42142397466097803"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-18T09:53:20.104Z","modified":"2024-09-18T10:32:34.131Z","0.1.0":"2024-09-18T09:53:20.360Z","0.1.1":"2024-09-18T10:26:00.899Z","0.1.2":"2024-09-18T10:32:33.869Z"},"bugs":{"url":"https://github.com/BotTech/webshot/issues"},"author":{"name":"Jason Pickens","email":"jasonpickensnz@gmail.com"},"license":"ISC","homepage":"https://github.com/BotTech/webshot","keywords":["screenshot"],"description":"Takes a screenshot of a webpage including any pesky iframes with cross origin content.","maintainers":[{"name":"steinybot","email":"jasonpickensnz@gmail.com"}],"readme":"# webshot\n\nTakes a screenshot of a webpage including any pesky iframes with cross origin content.\n\n## Installation\n\n```shell\nnpm install -g webshot\n```\n\n> ℹ️\n>\n> Or you can use it without installing:\n>\n> ```shell\n> npx webshot\n> ```\n\n## Usage\n\n```shell\nwebshot https://example.com`\n```\n\nOr\n\n```shell\nnpx webshot https://example.com`\n```\n\n## Options\n\n* `-o, --output <path>`: Output file path (default: `screeshot.png`).\n* `-w, --width <number>`: Viewport width (default: `1920`).\n* `-h, --height <number>`: Viewport height (default: `1080).\n* `-c, --config <path>`: Path to a config file.\n\n## Config\n\nThe config file is a JSON file that contains the following options:\n\n* `blacklist`: An array of objects with the following properties:\n\t+ `domain`: The domain to blacklist. Will match all subdomains.\n\t+ `path`: The path prefix to blacklist (optional).\n* `outputPath`: The file path to save the screenshot.\n* `viewport`: An object with the [Viewport] properties including:\n\t+ `width`: The width of the viewport.\n\t+ `height`: The height of the viewport.\n* `launch`: An object with the [Launch] properties including:\n\t+ `width`: The width of the viewport.\n\t+ `height`: The height of the viewport.\n\n\n[Launch]: https://pptr.dev/api/puppeteer.puppeteerlaunchoptions\n[Viewport]: https://pptr.dev/api/puppeteer.viewport","readmeFilename":"README.md"}