api documentation for phantomjs-pdf (v0.1.2)

Simple and lightweight HTML to PDF conversion using Node and PhantomJS

table of contents

  1. module phantomjs-pdf
    1. function phantomjs-pdf.convert (options, callback)
    2. function phantomjs-pdf.pdfResult (err, tmpPath, deleteOnAction)
    3. object phantomjs-pdf.pdfResult.prototype
  2. module phantomjs-pdf.pdfResult
    1. function phantomjs-pdf.pdfResult (err, tmpPath, deleteOnAction)
  3. module phantomjs-pdf.pdfResult.prototype
    1. function phantomjs-pdf.pdfResult.prototype.deleteTmpFile ()
    2. function phantomjs-pdf.pdfResult.prototype.getTmpPath ()
    3. function phantomjs-pdf.pdfResult.prototype.toBuffer (callback)
    4. function phantomjs-pdf.pdfResult.prototype.toFile (path, callback)
    5. function phantomjs-pdf.pdfResult.prototype.toStream ()

module phantomjs-pdf

function phantomjs-pdf.convert (options, callback)

function phantomjs-pdf.pdfResult (err, tmpPath, deleteOnAction)

module phantomjs-pdf.pdfResult

function phantomjs-pdf.pdfResult (err, tmpPath, deleteOnAction)

module phantomjs-pdf.pdfResult.prototype

function phantomjs-pdf.pdfResult.prototype.deleteTmpFile ()

function phantomjs-pdf.pdfResult.prototype.getTmpPath ()

function phantomjs-pdf.pdfResult.prototype.toBuffer (callback)

function phantomjs-pdf.pdfResult.prototype.toFile (path, callback)

function phantomjs-pdf.pdfResult.prototype.toStream ()

[ this document was created with utility2 ]