1.1.23 • Published 10 months ago

active-report-generator-node v1.1.23

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

active-report-generator-node


Package for generating pdf reports using ActiveReportJS library in the node.js

Installation

npm i active-report-generator-node

To pass the settings, you need to import the "setGeneratorConfig" function from the
active-report-generator-node package which takes the port number and license key as arguments.

The port number is the port on which chromium is running.

Example:

setGeneratorConfig({ activeReportPort: 5000, licenseKey: "your license key" });

To generate a PDF report, you need to import the renderPdf function from the active-report-generator-node package
and pass two arguments to it:

  1. The template in JSON or RDLX-JSON format (required).
  2. The subreport template in JSON or RDLX-JSON format, if a subreport is used (optional).

Example:
Async function

const pdfData = await renderPdf(template, subTemplate);

Promise

renderPdf(template, subTemplate).then((pdfData) => {
	console.log(pdfData);
});

Please note that this approach requires a single domain license

The package uses GrapeCity products.

1.1.9

10 months ago

1.1.8

10 months ago

1.1.7

10 months ago

1.1.6

10 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.12

10 months ago

1.1.11

10 months ago

1.1.10

10 months ago

1.1.16

10 months ago

1.1.15

10 months ago

1.1.14

10 months ago

1.1.18

10 months ago

1.1.17

10 months ago

1.1.23

10 months ago

1.1.22

10 months ago

1.1.21

10 months ago

1.1.20

10 months ago

1.1.3

11 months ago

1.1.2

11 months ago

1.1.1

11 months ago

1.0.13

12 months ago

1.0.12

12 months ago

1.0.11

12 months ago

1.0.10

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago