New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-amazon-ses-simulator

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-amazon-ses-simulator

A small listen server that returns valid responses to the AWS SES SDK

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

node-amazon-ses-simulator

npm version

A local server that simulates responses from Amazon's Simple Email Service (SES).

Screen Shot 2017-02-01 at 03.54.47.png

Getting Started

Install locally and run with:

npm install -D node-amazon-ses-simulator
node ./node_modules/node-amazon-ses-simulator/index.js --help

Otherwise, install globally:

npm install -g node-amazon-ses-simulator
node-amazon-ses-simulator --help

Your server's AWS.SES config will need to point towards the right endpoint:

const ses = new AWS.SES({
    accessKeyId,
    secretAccessKey,
    secretKey,
    region,
    endpoint: 'http://localhost:9999' // See this line
  });

What and why

Put simply - this server will respond with valid XML that Amazon's SDK will accept.

Amazon have their own test server but it isn't free - with the same cost as regular emails. This can be frustrating when you need to test services sending large volumes of emails.

Command line args

This module accepts several arguments. All are optional.

NameTypeDescriptionDefault
-h --hoststringSet the hostnamelocalhost
-p --portnumberSet the port9999
-i --intervalnumberInterval between req reports (ms)1000
-v --validatebooleanShould validate emailsfalse
-e --errornumberPercentage chance of throttling error0

Keywords

FAQs

Package last updated on 13 Mar 2017

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