asposeslidescloud
Advanced tools
Comparing version 1.0.0 to 18.11.0
{ | ||
"name": "asposeslidescloud", | ||
"version": "1.0.0", | ||
"version": "18.11.0", | ||
"description": "Aspose.Slides Cloud SDK for Node.js", | ||
"main": "lib/SlidesApi.js", | ||
"homepage": "http://www.aspose.com/cloud/powerpoint-api.aspx", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified! Configure in package.json\" && exit 1" | ||
"homepage": "https://products.aspose.cloud/slides/cloud", | ||
"author": { | ||
"name": "Victor Putrov" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/asposeslides/Aspose_Slides_Cloud.git" | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=4.8" | ||
}, | ||
@@ -20,14 +19,8 @@ "keywords": [ | ||
], | ||
"engines": { | ||
"node": ">= 0.8.x" | ||
}, | ||
"readmeFilename": "README.md", | ||
"main": "api.js", | ||
"dependencies": { | ||
"asposestoragecloud": ">= 1.0.0", | ||
"node-uuid": "~1.4.3", | ||
"combined-stream": "~1.0.5", | ||
"isstream": "~0.1.2" | ||
}, | ||
"author": "Farooq Sheikh <farooq.sheikh@aspose.com>", | ||
"license": "MIT", | ||
"readmeFilename": "README.md" | ||
"request": "^2.85.0", | ||
"request-debug": "^0.2.0" | ||
} | ||
} |
@@ -1,54 +0,12 @@ | ||
# Aspose.Slides Cloud SDK for Node.js | ||
# Aspose.Slides Cloud SDK for NodeJS | ||
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. | ||
This repository contains Aspose.Slides Cloud SDK for Node.js source code. This SDK allows you to work with Aspose.Slides Cloud REST APIs in your Node.js applications quickly and easily. | ||
## 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](https://www.npmjs.com/package/asposeslidescloud) (recommended). | ||
The complete source code is available in this repository folder. For more details, please visit our [documentation website](http://www.aspose.com/docs/display/slidescloud/How+to+Setup+Aspose.Slides+Cloud+SDK+for+Node.js). | ||
## Prerequisites | ||
## Quick SDK Tutorial | ||
```javascript | ||
var fs = require('fs'); | ||
var assert = require('assert'); | ||
var StorageApi =require("asposestoragecloud") | ||
var SlidesApi = require("asposeslidescloud"); | ||
To use Aspose Slides for Cloud NodeJS SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing). | ||
var AppSID = 'XXX'; //sepcify App SID | ||
var AppKey = 'XXX'; //sepcify App Key | ||
var config = {'appSid':AppSID,'apiKey':AppKey}; | ||
var data_path = '../data/'; | ||
try { | ||
//Instantiate Aspose.Storage API SDK | ||
var storageApi = new StorageApi(config); | ||
//Instantiate Aspose.Slides API SDK | ||
var slidesApi = new SlidesApi(config); | ||
//set input file name | ||
var filename = "sample"; | ||
var name = filename + ".pptx"; | ||
var format = "pdf"; | ||
var jpegQuality = 50; | ||
var versionId = null; | ||
var storage = null; | ||
var folder = null; | ||
//upload file to aspose cloud storage | ||
storageApi.PutCreate(name, versionId, storage, data_path + name , function(responseMessage) { | ||
assert.equal(responseMessage.status, 'OK'); | ||
//invoke Aspose.Slides Cloud SDK API to save a presentation to different other formats with additional settings | ||
slidesApi.GetSlidesDocumentWithFormat(name, format, jpegQuality, null, storage, folder, null, function(responseMessage) { | ||
assert.equal(responseMessage.status, 'OK'); | ||
//download output document from response | ||
var outfilename = filename + '.' + format; | ||
var writeStream = fs.createWriteStream('c:/temp/' + outfilename); | ||
writeStream.write(responseMessage.body); | ||
}); | ||
}); | ||
}catch (e) { | ||
console.log("exception in example"); | ||
console.log(e); | ||
} | ||
``` | ||
## Contact Us | ||
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.aspose.cloud/c/slides). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
2
6706
0
1
424443
10
13
+ Addedrequest@^2.85.0
+ Addedrequest-debug@^0.2.0
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.10.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedrequest-debug@0.2.0(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedstringify-clone@1.1.1(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
- Removedasposestoragecloud@>= 1.0.0
- Removedcombined-stream@~1.0.5
- Removedisstream@~0.1.2
- Removednode-uuid@~1.4.3
- Removedasposestoragecloud@1.0.5(transitive)
- Removednode-uuid@1.4.8(transitive)