JasperNode
JasperReports for NodeJS
Requirements
Installation
npm install jaspernode -S
Usage (in AdonisJS)
'use strict' const Helpers = const JasperNode = async { const jasper = Helpers let inputFile = Helpers let outputFile = Helpers let parameters = myString: jasper myInt: 100 myImage: jasper try const pathFile = await jasper return response catch e return response }
Tests
npm test
Code Coverage
npm run cover
Thanks
- Thanks to Cenote GmbH for the JasperStarter tool.
- Thanks to Hélder Duarte for the JasperPHP repository
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.