Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

gulp-litmus

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-litmus

Send email tests to Litmus

latest
Source
npmnpm
Version
0.0.7
Version published
Weekly downloads
1.3K
20.74%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-litmus Build Status

Install

$ npm install gulp-litmus

Usage

var gulp = require('gulp');
var litmus = require('gulp-litmus');

var config = {
    username: 'litmus_username',
    password: 'litmus_password',
    url: 'https://yourcompany.litmus.com',
    applications: [
        'applemail6',
        'gmailnew',
        'ffgmailnew',
        'chromegmailnew',
        'iphone4s',
    ]
}

gulp.task('default', function () {
	return gulp.src('src/email.html')
		.pipe(litmus(config))
		.pipe(gulp.dest('dist'));
});

API

litmus(config)

config

config.username

Type: String
Default: ' '
Required: yes

Litmus username

config.password

Type: String
Default: ' '
Required: yes

Litmus password

config.url

Type: String
Default: ' '
Required: yes

URL to your companies Litmus account

config.applications

Type: Array
Default: []
Required: yes

Array of email clients to test. Can be found at https://yourcompany.litmus.com/clients.xml. The <application_code> tags contain the name e.g. Gmail Chrome: <application_code> chromegmailnew </application_code>

Troubleshooting

If you're having issues with Litmus taking forever to load a test or the title of the test is showing up as "No Subject", it is most likely an issue with the Litmus API. You can check the Litmus status page to find out if their having any issues. If that's not the case, submit an issue and we'll look into further.

License

MIT © Jeremy Peter

Keywords

gulpplugin

FAQs

Package last updated on 04 Sep 2014

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