premailer-client

0.0.1 • Public • Published

premailer-client - a node.js premailer client

Install

npm install premailer-client

Usage

var premailer = require('premailer-client');
 
var client = premailer.createClient();
client.getAll(options,function(err,documents){
    // HTML document
    console.log(documents.html);
    // Plain text document
    console.log(documents.txt);
    // JSON response deserialized
    console.log(documents.response);
})

Test

npm test

Licence

(The MIT License) Copyright 2011-2012 Remy Loubradou

Readme

Keywords

none

Package Sidebar

Install

npm i premailer-client

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • lbdremy