Skip to content

Commit

Permalink
Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbachmann committed Jan 25, 2015
1 parent f24bc83 commit a94ebd5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
1.0.0
=====
- Catch phantomjs errors [517d307](https://github.com/marcbachmann/node-html-pdf/commit/517d30762e3121f72aa3879e07f5944c05c4d96d)

- new module API [#11](https://github.com/marcbachmann/node-html-pdf/pull/11)
```js
pdf = require('html-pdf')
pdf.create(html).toFile(filepath, function(err, res){
console.log(res.filename);
});

pdf.create(html).toStream(filepath, function(err, stream){
steam.pipe(fs.createWriteStream('./foo.pdf'));
});

pdf.create(html).toBuffer(filepath, function(err, buffer){
console.log('This is a buffer:', Buffer.isBuffer(buffer));
});
```


0.3.0
=====
- Windows support #6
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-pdf",
"version": "0.4.0",
"version": "1.0.0",
"description": "HTML to PDF converter that uses phantomjs",
"main": "lib/index.js",
"directories": {
Expand Down

0 comments on commit a94ebd5

Please sign in to comment.