Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asposeslidescloud

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asposeslidescloud

Aspose.Slides Cloud SDK for Node.js

  • 21.6.0
  • npm
  • Socket score

Version published
Weekly downloads
189
increased by13.17%
Maintainers
1
Weekly downloads
 
Created
Source

Aspose.Slides Cloud SDK for NodeJS npm

This repository contains Aspose.Slides Cloud SDK for NodeJS source code. This SDK allows you to work with Aspose.Slides Cloud REST APIs in your NodeJS applications.

Key Features

  • Conversion between various document-related formats (20+ formats supported), including PDF<->PowerPoint conversion
  • Download slides and shapes in various formats, including PDF and SVG
  • Merge and split PowerPoint presentations
  • Access PowerPoint presentation metadata and statistics
  • Find and replace
  • Full read & write access to Document Object Model, including slides, shapes, paragraphs, portions and many others
  • Support of Aspose.Storage API

New Features & Recent API Changes

20.10
  • Removed shapeType property from BaseShape class; replaced geometryShapeType with shapeType property for GeometryShape.
  • Removed redundant ResourceUriElement class. All properties of ResourceUriElement type are changed to ResourceUri type.
20.9
  • New getSections, putSections, putSection, postSection, postSectionMove, deleteSection, deleteSections methods to add, update and delete presentation sections.
  • New postSlidesHeaderFooter, postSlideHeaderFooter, getSlideHeaderFooter, postNotesSlideHeaderFooter, getNotesSlideHeaderFooter methods to manage header/footer settings for slides.
  • Replaces categories for parentCategories & level properties in ChartCategory class to properly support Sunburst & Treeview charts.

Licensing

All Aspose.Slides Cloud SDKs are licensed under MIT License.

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or get NPM package (recommended).

Prerequisites

To use Aspose Slides Cloud NodeJS SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.

Installation

From the command line:

npm install asposeslidescloud --save

Sample usage

The example code below converts a PowerPoint document to PDF format using asposeslidescloud library:

const api = require("asposeslidescloud");
const fs = require('fs');

const slidesApi = new api.SlidesApi("MyClientId", "MyClientSecret");
const postSlidesConvertRequest = new api.GetSlidesApiInfoRequest();
postSlidesConvertRequest.format = 'pdf';
postSlidesConvertRequest.document = fs.createReadStream("MyPresentation.pptx");
slidesApi.postSlidesConvert(postSlidesConvertRequest).then((response) => {
    fs.writeFile("MyPresentation.pdf", response.body, (err) => {
        if (err) throw err;
    });
});

You can check more Examples of using the SDK.

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.

Resources

Website
Product Home
API Reference
Documentation
Blog

Other languages

We generate our SDKs in different languages so you may check if yours is available in our list.

If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.

Keywords

FAQs

Package last updated on 08 Jul 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