Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
eshot
Advanced tools
Readme
Screenshot tool for emails. You may screenshot just the email itself or add in the different email fields such as from, to, subject etc...
Before 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.
npm install -g eshot
eshot <files>
Flag: -p
Example: eshot -p <files>
Brings up the command line prompt to manually enter in the email fields
Flag: -m
Example: eshot -m <files>
Screenshot mobile version as well
Flag: -y
Example: eshot -y=customName.yml <files>
Will use customName.yml
instead of the default YAML config file
Flag: --subject
Example: eshot --subject false <files>
Will not add the subject line information
Example:
module.exports = {
files: ['**/*.{html,txt}'],
base: './',
sanitize: function(html){
return html;
},
offset: 993,
prompts: {
from: ['John Doe <john.doe@example.com>'],
to: ['Jane Doe <jane.doe@example.com>'],
replyTo: ['john.doe@example.com']
},
yamlName : 'customName.yml',
ignoreDirs: ['Users', 'ramp', '2013**']
};
Type: array
Default: [**/*.{html,txt}]
Glob pattern that matches the files types to screenshot
Type: string
Default: ./
Base directory to search
Type: function
Default: function(html){ return html; }
Allows you to sanitize/manipulate the html before screenshotting
Type: number
Default: 993
Sets the offset of the screenshot. Allows you to control how much content from the previous page gets rendered to the next page.
Type: object
Default:
{
from: ['John Doe <john.doe@example.com>'],
to: ['Jane Doe <jane.doe@example.com>'],
replyTo: ['john.doe@example.com']
}
Subject line field options
Type: string
Default: 'eshot-subjectInfo.yml'
File name for the yaml config
Type: array
Default: []
Glob patterns of directories to ignore when creating the file name when not using YAML file
Coming Soon...
FAQs
Screenshot tool for emails
The npm package eshot receives a total of 6 weekly downloads. As such, eshot popularity was classified as not popular.
We found that eshot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.