Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
aspose.diagram
Advanced tools
A standalone Node.js API to create, manipulate, convert & process Visio files.
Aspose.Diagram for Node.js via Java is a scalable and feature-rich API to integrate Microsoft Visio® file generation, manipulation, conversion & processing features into your own Node.js applications. It allows your applications to work with Microsoft Visio Object Model in order to create the diagrams from scratch, edit existing diagrams or convert diagrams to popular formats including PDF, HTML, images and other Visio formats.
Microsoft Visio: VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM
Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, TIFF, SVG, EMF Web: HTML Other: XAML
Microsoft Visio: VDW, VSD, VSS, VST
Execute npm install aspose.diagram --save
from the command line to install Aspose.Diagram for Node.js via Java in order to get started. Now, you are ready to execute any of the following code snippets or you may check the detailed Developer's Guide for all possible usage scenarios.
var aspose = aspose || {};
aspose.diagram = require("aspose.diagram");
var diagram = new aspose.diagram.Diagram();
diagram.save("output.vsdx", aspose.diagram.SaveFileFormat.VSDX);
var aspose = aspose || {};
aspose.diagram = require("aspose.diagram");
diagram = new aspose.diagram.Diagram("template.vsdx");
// Save diagram as PNG
options = new aspose.diagram.ImageSaveOptions(aspose.diagram.SaveFileFormat.PNG);
// Save one page only, by page index
options.setPageIndex(0);
// Save resultant Image file
diagram.save("output.png", options);
Product Page | Product Documentation | Blog |API Reference | Source Code Samples | Free Support | Temporary License
FAQs
A standalone Node.js API to create, manipulate, convert & process Visio files.
The npm package aspose.diagram receives a total of 740 weekly downloads. As such, aspose.diagram popularity was classified as not popular.
We found that aspose.diagram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.