Setup Aspose.Tasks Cloud SDK for Node.js is also available as a released package in the [npm (package manager for javascript)][7] . You can bypass [GitHub source code repository][8] and depend directly on the released package by installing from npm: Aspose.Tasks Cloud SDK for Node.js - npm installation

 npm i asposetaskscloud 
```Data In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3rd party cloud storage using [Aspose.Storage Cloud SDK for Node.js][9]. Quick SDK Tutorial

var fs = require(‘fs’); var assert = require(‘assert’); var StorageApi =require(“asposestoragecloud”) var TasksApi = require(“asposetaskscloud”);

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.Tasks API SDK var tasksApi = new TasksApi(config);

//set input file name var fileName = “sample-project”; var name = fileName + “.mpp”; var format = “pdf”; 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.Tasks Cloud SDK API to convert project document to other formats tasksApi.GetTaskDocumentWithFormat(name, format, storage, folder, function(responseMessage) { assert.equal(responseMessage.status, ‘OK’); //download converted proj doc from api 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); }


*   [Working With Project Documents](http://www.aspose.com/docs/display/taskscloud/Working+with+Project+Documents)
*   [Working With Tasks](http://www.aspose.com/docs/display/taskscloud/Working+with+Tasks)
*   [Working With Task Links](http://www.aspose.com/docs/display/taskscloud/Working+With+Resources)
*   [Working With Resources Working With Assignments](http://www.aspose.com/docs/display/taskscloud/Working+with+Assignments)
*   [Working With Calendars](http://www.aspose.com/docs/display/taskscloud/Working+with+Calendars)
*   [Working With Outline Codes And Extended Attributes](http://www.aspose.com/docs/display/taskscloud/Working+with+Outline+Codes+and+Extended+Attributes)

Start a Free Trial Today Start a free trial today – all you need is to [sign up][12] with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.




[1]: https://blog.aspose.com/wp-content/uploads/sites/2/2014/06/aspose-Tasks-for-CloudAPIs_1002.png "Aspose.Tasks Cloud")](http://www.aspose.com/cloud/project-management-api.aspx)Aspose.Tasks Cloud is a REST API for manipulating Microsoft Project documents in the cloud. It is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, Node.js and many more. You can use it with any platform — web, desktop, mobile, and cloud. Aspose.Tasks Cloud allows developers to manipulate project data including Tasks, Resources, Task links, and Assignments. Aspose.Tasks Cloud is a complete solution that allows you to work with all aspects of a Project document including conversion and manipulation of project’s tasks, task links, resources, resource assignments and extended attribute data. [Learn More](http://www.aspose.com/cloud/project-management-api.aspx
[2]: https://blog.aspose.com/wp-content/uploads/sites/2/2016/02/Tasks-Cloud-Format-Supported.png "Aspose.Tasks Cloud")](http://www.aspose.com/cloud/project-management-api.aspx
[3]: http://www.aspose.com/docs/display/taskscloud/Home
[4]: http://www.aspose.com/cloud/project-management-api.aspx
[5]: https://github.com/aspose-tasks-cloud/
[6]: https://asposetaskscloud.codeplex.com/SourceControl/latest#SDKs/Aspose.Tasks_Cloud_SDK_for_NodeJS/
[7]: https://www.npmjs.com/package/asposetaskscloud/
[8]: https://github.com/aspose-tasks-cloud/
[9]: https://www.npmjs.com/package/asposestoragecloud
[10]: http://www.aspose.com/docs/display/taskscloud/Home
[11]: http://www.aspose.com/docs/display/taskscloud/Programmers+Guide
[12]: http://dashboard.aspose.cloud/