https://github.com/zweifisch/node-pdf
pdf generation using mustache and xelatex
https://github.com/zweifisch/node-pdf
Last synced: 3 months ago
JSON representation
pdf generation using mustache and xelatex
- Host: GitHub
- URL: https://github.com/zweifisch/node-pdf
- Owner: zweifisch
- Created: 2013-03-04T13:56:40.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-12T15:41:12.000Z (about 12 years ago)
- Last Synced: 2025-02-01T21:51:13.122Z (4 months ago)
- Language: CoffeeScript
- Size: 125 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-pdf
pdf generation using mustache and xelatex
## usage
```sh
npm install node-pdf
``````coffeescript
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
```