tp

to-pdf

Convert your source code to pdf from within. Old project, not maintained anymore, don't use.

Showing:

Popularity

Downloads/wk

4

GitHub Stars

8

Maintenance

Last Commit

5yrs ago

Contributors

1

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

toPDF

Convert your code into PDF from within your node code . PDF gets generated in the same folder as the code calling it with the name print.pdf .

Install

npm install to-pdf

Usage

toPDF takes 3 parameters : filename , descriptions and author name .

Example :

1) Printing the same code :

//test.js

var pdf = require('toPDF') ;

console.log("Tonight's gonna be a good night") ;

pdf.toPDF('test.js','Just a simple test file','Sarthak Munshi') ;

2) Printing another file :

//test.js

var pdf = require('toPDF') ;

console.log("Tonight's gonna be a good night") ;

pdf.toPDF('package.json','Printing the JSON','Sarthak Munshi') ;

Output

1)

2)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial