{"_id":"eshot","_rev":"83-f8d92ad80664b7599962d37188d81f25","name":"eshot","dist-tags":{"latest":"0.9.0"},"versions":{"0.9.0":{"name":"eshot","version":"0.9.0","keywords":["screenshot","email"],"author":{"name":"Jeremy Peter"},"license":"MIT","_id":"eshot@0.9.0","maintainers":[{"name":"meltmedia","email":"opensource@meltmedia.com"}],"homepage":"https://github.com/meltmedia/eshot","bugs":{"url":"https://github.com/meltmedia/eshot/issues"},"bin":{"screenshot":"bin/eshot.js"},"dist":{"shasum":"56570ea8cd5c0f953fba7439d4b94958cb9532bc","tarball":"https://registry.npmjs.org/eshot/-/eshot-0.9.0.tgz","integrity":"sha512-qHYagB4x8IktOL/zx0Qn6R3j/S2fwAuEbL15RwPkt6XpmkN++RyvoN5DtvXHiua83x+PPWuIg1YF+83mFCNZPQ==","signatures":[{"sig":"MEQCIEbRh6NQU9wePSr56zR9WpSCKEZwR6Jp0QDy8bw7KItJAiAhIKUCaLsRMQnVgkcsxIeV5rRB/hxY6ccv7A9lwkVHgQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"56570ea8cd5c0f953fba7439d4b94958cb9532bc","gitHead":"65f36663a91f24fe2ba19c523f94496c7eb34e8f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"meltmedia","email":"opensource@meltmedia.com"},"repository":{"url":"git+https://github.com/meltmedia/eshot.git","type":"git"},"_npmVersion":"2.10.0","description":"Screenshot tool for emails","directories":{},"_nodeVersion":"0.10.38","dependencies":{"chalk":"^1.0.0","yargs":"^3.8.0","lodash":"^3.7.0","pdfkit":"^0.7.1","globule":"^0.2.0","js-yaml":"^3.3.0","phantom":"^0.7.2","shelljs":"^0.4.0","walkdir":"0.0.9","bluebird":"^2.9.25","inquirer":"^0.8.2","dateformat":"^1.0.11","event-stream":"^3.3.0"}}},"time":{"created":"2015-05-20T23:16:39.859Z","modified":"2026-10-01T19:39:28.415Z","0.9.0":"2015-05-20T23:16:39.859Z"},"bugs":{"url":"https://github.com/meltmedia/eshot/issues"},"author":{"name":"Jeremy Peter"},"license":"MIT","homepage":"https://github.com/meltmedia/eshot","keywords":["screenshot","email"],"repository":{"url":"git+https://github.com/meltmedia/eshot.git","type":"git"},"description":"Screenshot tool for emails","maintainers":[{"email":"james.tsuyuki@inizioevoke.com","name":"jamkini"},{"email":"jeffrey.cyphert@meltmedia.com","name":"jc-melt"},{"email":"opensource@meltmedia.com","name":"meltmedia-org-owner"},{"email":"mike@meltmedia.com","name":"mmoulton"},{"email":"allen.booker@meltmedia.com","name":"abooker"},{"email":"rdpacheco+npm@gmail.com","name":"rdpacheco"},{"email":"alex.mesarosh@meltmedia.com","name":"amesarosh"},{"email":"josh@vsso.com","name":"jkennedy"},{"email":"chris.shaver@meltmedia.com","name":"cshavermelt"},{"email":"chinmayi.chauhan@meltmedia.com","name":"chinmayi.chauhan"},{"email":"shane.becker@meltmedia.com","name":"shanebecker"},{"email":"kaung.lwin@meltmedia.com","name":"klwin"},{"email":"salvatore.parascandola@meltmedia.com","name":"salvatore.parascandola"},{"email":"jenae.studer-hart@meltmedia.com","name":"jenae.studer-hart"},{"email":"sadiq.choudhury@inizioevoke.com","name":"sadiq_inizio"},{"email":"ryan.cowie@inizioevoke.com","name":"rjcowie"},{"email":"omar.bello@inizioevoke.com","name":"omarcinho2024"},{"email":"joshua.hepner@inizioevoke.com","name":"joshua.hepner"},{"email":"melanie.rogoff@meltmedia.com","name":"melanie.rogoff"},{"email":"yacine.bouakkaz@inizioevoke.com","name":"ybevoke"},{"email":"john.orr@meltmedia.com","name":"johnorrmelt"},{"email":"samuel.savage@inizioevoke.com","name":"samsavage1"},{"email":"cj.amodeo@evokegroup.com","name":"evoke-cjamodeo"},{"email":"Rama.Pulimamidi@inizioevoke.com","name":"ramapulimamidi"},{"email":"neetika.goel@inizioevoke.com","name":"neetika123"},{"email":"jeffrey.cyphert@inizioevoke.com","name":"jc_evk"},{"email":"jonathan.lisena@inizioevoke.com","name":"jlisena"}],"readme":"# eshot\nScreenshot tool for emails. You may screenshot just the email itself or add in the different email fields such as from, to, subject etc...\n\n## Requirements\nBefore screenshotting anything, you must create an `eshot-fields.yml` at the root of the directory that contains the files you want to screenshot. This is the preferred/faster way to pull in the email field data instead of using the command prompts.\n\n## Installation\n`npm install -g eshot`\n## Command Line Usage\n```\neshot <files>\n```\n\n## Command Line Options\n\n#### Using Prompt\nFlag: `-p`  \nExample: `eshot -p <files>`  \nBrings up the command line prompt to manually enter in the email fields\n\n#### Add mobile version\nFlag: `-m`  \nExample: `eshot -m <files>`  \nScreenshot mobile version as well\n\n#### Custom YAML file\nFlag: `-y`  \nExample: `eshot -y=customName.yml <files>`  \nWill use `customName.yml` instead of the default YAML config file  \n\n#### No email fields\nFlag: `--subject`  \nExample: `eshot --subject false <files>`  \nWill not add the subject line information \n\n## Config File\n\nExample: \n```javascript\nmodule.exports = {\n  files: ['**/*.{html,txt}'],\n\n  base: './',\n\n  sanitize: function(html){\n   return html;\n  },\n\n  offset: 993,\n\n  prompts: {\n    from: ['John Doe <john.doe@example.com>'],\n    to: ['Jane Doe <jane.doe@example.com>'],\n    replyTo: ['john.doe@example.com']\n  }, \n\n  yamlName : 'customName.yml',\n\n  ignoreDirs: ['Users', 'ramp', '2013**']\n\n};\n```\n\n#### config.files\nType: `array`  \nDefault: `[**/*.{html,txt}]`  \nGlob pattern that matches the files types to screenshot  \n\n#### config.base\nType: `string`   \nDefault: `./`  \nBase directory to search \n\n#### config.sanitize\nType: `function`  \nDefault: `function(html){ return html; }`  \nAllows you to sanitize/manipulate the html before screenshotting\n\n#### config.offset\nType: `number`  \nDefault: `993`  \nSets the offset of the screenshot. Allows you to control how much content from the previous page gets rendered to the next page. \n\n#### config.prompts\nType: `object`  \nDefault: \n```\n{\n    from: ['John Doe <john.doe@example.com>'],\n    to: ['Jane Doe <jane.doe@example.com>'],\n    replyTo: ['john.doe@example.com']\n}\n```\nSubject line field options\n\n#### config.yamlName\nType: `string`  \nDefault: 'eshot-subjectInfo.yml'  \nFile name for the yaml config\n\n#### config.ignoreDirs\nType: `array`  \nDefault: `[]`  \nGlob patterns of directories to ignore when creating the file name when not using YAML file  \n\n## Testing\nComing Soon...","readmeFilename":"README.md"}