0.9.60 • Published 8 years ago

jasper-stream v0.9.60

Weekly downloads
1
License
UNLICENSED
Repository
github
Last release
8 years ago

IMPORTANT! This package has been deprecated because it can't solve the problem targeted. Jasper library doesn't write directly to the outputstream, it fills the report template with data and THEN writes to the stream. So it doesn't do nothing new, unfortunately."

JasperStream

JasperStream is a wrapper around the DynamicReports java library, which allows us to use streams for PDF creation, therefore enabling the creation of huge PDF files. As it doesn't need to load a html file in a headless browser, like it's done in several node packages, your small server can live a long and prosper life without struggling with memory comsumpion.

BUT bear in mind that you'll need to create your own Dynamic Reports layout in order to use it. And build the .jar again.

Yes, it's tightly coupled to our needs. Sorry about that.

Here are the parameters you need to pass on the the module as a json:

{ "report_name": "", // the filename "report_title":"", // the report title "filters": { // a json with a mandatory "and" array and an optional "or" array "or":[],"and":[]}, "fields":[], // An array of strings "columns":[], // An array of column labels "aggs": // groupBy and sum aggregations { "group":[], // array of groups "sum":[]// array of sums }, "count": 9 // report total records } }

0.9.60

8 years ago

0.9.72

8 years ago

0.9.71

8 years ago

0.9.7

8 years ago

0.9.6

8 years ago

0.9.5

8 years ago

0.9.4

8 years ago

0.9.3

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago

0.0.6

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago