npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

aspose.diagram

v24.12.0

Published

A standalone Node.js API to create, manipulate, convert & process Visio files.

Downloads

2,604

Readme

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.

Node.js Diagram API Features

  • Programmatically create new Microsoft Visio diagrams via API.
  • Convert Visio flow-charts to other supported formats.
  • Retrieve document information of a Visio file.
  • Export Visio files to raster images, fixed-layout and HTML formats.

Read & Write Visio File Formats

Microsoft Visio: VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM

Save Visio Diagrams As

Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, TIFF, SVG, EMF Web: HTML Other: XAML

Read Visio Formats

Microsoft Visio: VDW, VSD, VSS, VST

Getting Started with Aspose.Diagram for Nodejs via Java

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.

Create Visio VSDX File from Scratch using Node.js

var aspose = aspose || {};
aspose.diagram = require("aspose.diagram");

var diagram = new aspose.diagram.Diagram();
diagram.save("output.vsdx", aspose.diagram.SaveFileFormat.VSDX);

Export Page of Visio VSDX File to PNG Format

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