Nucleic Photon Magnetizer
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    winston-amazon-sespublic

    winston-amazon-ses Build Status Codeship Status for jpgarcia/winston-amazon-ses

    A email transport for winston using Amazon Simple Email Service (SES) inspired in winston-mail.

    Installation

    Installing npm (node package manager)

      $ curl http://npmjs.org/install.sh | sh

    Installing winston-amazon-ses

      $ npm install winston
      $ npm install winston-amazon-ses

    Usage

      var winston = require('winston');
     
      // 
      // Requiring `winston-amazon-ses` will expose 
      // `winston.transports.SES` 
      // 
      require('winston-amazon-ses').SES;
     
      winston.add(winston.transports.SES, options);

    The SES transport uses node-amazon-ses behind the scenes. Options are the following:

    • to: The address(es) you want to send to. [required]
    • accessKey: AWS SES access key. [required]
    • secretKey: AWS SES secret key. [required]
    • from: The address you want to send from. (default: winston@[server-host-name])
    • subject Subject for email (default: winston: {{level}} {{msg}})
    • level: Level of messages that this transport should log.
    • silent: Boolean flag indicating whether to suppress output.

    Keywords

    none

    install

    npm i winston-amazon-ses

    Downloadsweekly downloads

    39

    version

    0.1.4

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar