node-pdf

pdf generation using mustache and xelatex

npm install node-pdf
1 downloads in the last day
1 downloads in the last week
18 downloads in the last month

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
npm loves you