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.cells.java

v24.7.0

Published

A powerful library for manipulating and converting Excel (XLS, XLSX, XLSB), ODS, CSV and HTML files.

Downloads

82

Readme

Aspose.Cells for Node.js via Java is a scalable and feature-rich API to create, process, manipulate & convert Excel & OpenOffice spreadsheets using Node.js. API offers Excel file generation, conversion, worksheets styling, Pivot Table & chart management & rendering, reliable formula calculation engine and much more - all without any dependency on Office Automation or Microsoft Excel®.

Node.js Spreadsheet API Features

  • Generate Excel files via API or using templates.
  • Create Pivot Tables, charts, sparklines & conditional formatting rules on-the-fly.
  • Refresh existing charts & convert charts to images or PDF.
  • Create & manipulate comments & hyperlinks.
  • Set complex formulas & calculate results via API.
  • Set protection on workbooks, worksheets, cells, columns or rows.
  • Create & manipulate named ranges.
  • Populate worksheets through Smart Markers.
  • Manipulate & refresh Pivot Tables via API.
  • Convert worksheets to PDF, XPS & SVG formats.
  • Inter-convert files to popular Excel formats.

Read & Write Excel Files

Microsoft Excel: XLS, XLSX, XLSB, XLTX, XLTM, XLSM, XML OpenOffice: ODS Text: CSV, Tab-Delimited, TXT, JSON Web: HTML, MHTML

Save Excel Files As

Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, SVG, TIFF, GIF, EMF Text: CSV, Tab-Delimited, JSON, SQL, XML

Getting Started with Aspose.Cells for Nodejs via Java

Installation

From the command line:

npm install aspose.cells --save

Create Excel XLSX File from Scratch using Node.js

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

var workbook = new aspose.cells.Workbook(aspose.cells.FileFormatType.XLSX);
workbook.getWorksheets().get(0).getCells().get("A1").putValue("testing...");
workbook.save("output.xlsx");

Convert Excel XLSX File to PDF using Node.js

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

var workbook = new aspose.cells.Workbook("example.xlsx");
var saveOptions = aspose.cells.PdfSaveOptions();
saveOptions.setOnePagePerSheet(true);
workbook.save("example.pdf", saveOptions);

Format Excel Cells via Node.js

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

var excel = new aspose.cells.Workbook();
var style = excel.createStyle();
style.getFont().setName("Times New Roman");
style.getFont().setColor(aspose.cells.Color.getBlue());
for (var i = 0; i < 100; i++)
{
    excel.getWorksheets().get(0).getCells().get(0, i).setStyle(style);
}

Add Picture to Excel Worksheet with Node.js

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

var workbook = new aspose.cells.Workbook();
var sheetIndex = workbook.getWorksheets().add();
var worksheet = workbook.getWorksheets().get(sheetIndex);

// adding a picture at "F6" cell
worksheet.getPictures().add(5, 5, "image.gif");

workbook.save("output.xls", aspose.cells.SaveFormat.EXCEL_97_TO_2003);

Product Page | Product Documentation | Blog |API Reference | Source Code Samples | Free Support | Temporary License