grunt-spamcheck

0.1.2 • Public • Published

grunt-spamcheck

Built with Grunt Build Status

Spam check your emails using Postmark's API

Getting Started

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-spamcheck --save-dev

After the plugin is installed, it can be enabled in your Gruntfile:

grunt.loadNpmTasks('grunt-spamcheck');

Spamcheck task

Run this task with the grunt spamcheck command.

grunt-spamcheck

Options

report

Specifies whether you would like more detailed reporting.

Type: String

Default: long

Options: short, long

hideGraph

Specifies whether you want to hide the score graph.

Type: Boolean

Default: false

Examples

grunt.initConfig({
  spamcheck: {
    emails: {
      report: 'long',
      src: ['emails/template1.html', 'emails/template2.html', 'emails/template3.html']
    }
  }
});

Tests

Run this task with the grunt test command.

/grunt-spamcheck/

    Package Sidebar

    Install

    npm i grunt-spamcheck

    Weekly Downloads

    12

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    47.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • diraq