adonis-pdf
Advanced tools
Comparing version 0.0.9 to 0.0.10
{ | ||
"name": "adonis-pdf", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Create PDF files within Adonis using pdfmake", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,3 +18,3 @@ # adonis-pdf | ||
## Usage | ||
`PDF.create()` accepts two parameters: | ||
Add `const PDF = use('PDF')` to whatever file you wish to use it, then call `PDF.create()`. This method accepts two parameters: | ||
@@ -21,0 +21,0 @@ * `definition`: Object representing the PDF content/styles etc |
2113251