1.1.23 • Published 2 years ago

active-report-generator-node v1.1.23

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years 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

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.23

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago