Socket
Socket
Sign inDemoInstall

stimulsoft-reports-js

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stimulsoft-reports-js

Stimulsoft Reports.JS is a reporting tool for Node.js


Version published
Weekly downloads
5.6K
increased by3.13%
Maintainers
1
Weekly downloads
 
Created
Source

Stimulsoft Reports.JS

Stimulsoft Reports.JS is a reporting tool for Node.js and JavaScript applications. You can create new and load already created reports, easily connect to various databases, and export the report to PDF, HTML, Worl, Excel, Image and other formats.

How to install

Ceate a project folder and install Reports.JS module using the specified command:

npm install stimulsoft-reports-js

How to load and save a report

Create index.js file in the folder, and add the required code:

// Stimulsoft reports module loading
var Stimulsoft = require('stimulsoft-reports-js');

// Loading fonts
Stimulsoft.Base.StiFontCollection.addOpentypeFontFile("Roboto-Black.ttf");

// Creating a new report object
var report = Stimulsoft.Report.StiReport.createNewReport();

// Loading a report template (MRT) into the report object
report.loadFile("report1.mrt");

// Renreding the report
report.renderAsync(() => {

}

// Exporting the report to PDF
report.exportDocumentAsync((pdfData) => {

}

// Saving the report object into a template file (MRT)
report.saveFile("report2.mrt");

// Saving the rendered report object into a document file (MDC)
report.saveDocumentFile("report3.mdc");

How to run

Open console and run index.js

node index

Trial limitation

The free trial versions of Stimulsoft Reports.JS for Node.js are fully functional and will work for an unlimited time. The only limitation is a Trial watermark displayed on each report page. To activate the product, you do not need to install a special version, just add a license key.

Read more about Stimulsoft Reports.JS

You can try the Live Demo

More information in the Online Documentation

Free Download

License

Keywords

FAQs

Package last updated on 05 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc