Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
pdf generation using mustache and xelatex
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
.gitignore
README.md
index.coffee
index.js get output of xelatex as error message
package.json

README.md

node-pdf

pdf generation using mustache and xelatex

usage

npm install node-pdf
fs = require 'fs'
{render} = require 'node-pdf'

data =
    title: 'Matrix'

render './matrix.tex', data, (err,rs)->
    if err
        console.log err
    else
        ws = fs.createWriteStream './output.pdf'
        rs.pipe ws
Something went wrong with that request. Please try again.