Aspose.BarCode for Cloud[![Aspose.BarCode for Cloud][1], two dimensional (2D), and postal formats. Generate barcode images in a variety of image formats: JPEG, PNG, GIF, BMP, TIFF and many others. Recognize barcodes from different image types [Learn More][2] [![Aspose.Barcode Cloud][3] What’s new in the latest release This is a major revamp release for Aspose.BarCode Cloud SDK for Node.js. It covers all the [Aspose.BarCode Cloud APIs][4]. This SDK provides a complete solution for barcode generation and recognition in Node.js using powerful [Aspose.BarCode Cloud APIs][5], so you can perform barcode generation and recognition operations in the cloud seamlessly. Source Code Repository Complete source code of this release of Aspose.Barcode Cloud SDK for Node.js is freely available on your favorite [GitHub][6] and [Codeplex][7] repositories.

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

 npm i asposebarcodecloud 
```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][10]. Quick SDK Tutorial

var fs = require(‘fs’); var assert = require(‘assert’); var BarcodeApi = require(‘asposebarcodecloud’);

var AppSID = ‘XXX’; //sepcify App SID var AppKey = ‘XXX’; //sepcify App Key var config = {‘appSid’:AppSID,‘apiKey’:AppKey};

try { //Instantiate Aspose.BarCode API SDK var barcodeApi = new BarcodeApi(config);

//set input file name var text= “Aspose.BarCode for Cloud”; var type= “qr”; var format= “png”;

//invoke Aspose.BarCode Cloud SDK API to create barcode and save image to a stream
barcodeApi.GetBarcodeGenerate(text, type, format, null, null, null, null, null, function(responseMessage) { assert.equal(responseMessage.status, ‘OK’); //download generated barcode from api response var outfilename = name + “.” + format; var writeStream = fs.createWriteStream(‘c:/temp/’ + outfilename); writeStream.write(responseMessage.body); });

}catch (e) { console.log(“exception in example”); console.log(e); }


*   [Working with Barcode Generation](http://www.aspose.com/docs/display/barcodecloud/Working+with+Barcode+Generation)
*   [Working with Barcode Recognition](http://www.aspose.com/docs/display/barcodecloud/Working+with+Barcode+Recognition)

Start a Free Trial Today Start a free trial today – all you need is to [sign up][13] 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/12/aspose_barcode_for_cloud.png "Aspose.BarCode for Cloud")](http://www.aspose.com/cloud/barcode-api.aspx)Aspose.BarCode for Cloud’s platform independent document manipulation API 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.BarCode for Cloud allows developers to quickly and easily add barcode generation and recognition functionality to their applications. Aspose.BarCode for Cloud is a complete solution for barcode generation and recognition. It helps us to generate barcode images from scratch in linear (1D
[2]: http://www.aspose.com/cloud/barcode-api.aspx
[3]: https://blog.aspose.com/wp-content/uploads/sites/2/2016/01/BarcodeCloud-Format-Support-2.png "Aspose.Barcode Cloud")](http://www.aspose.com/cloud/barcode-api.aspx
[4]: http://www.aspose.com/docs/display/barcodecloud/Home
[5]: http://www.aspose.com/cloud/barcode-api.aspx
[6]: https://github.com/aspose-barcode-cloud/
[7]: https://asposebarcodecloud.codeplex.com/SourceControl/latest#SDKs/Aspose.BarCode_Cloud_SDK_for_NodeJS/
[8]: https://www.npmjs.com/package/asposebarcodecloud/
[9]: https://github.com/aspose-barcode-cloud/
[10]: https://www.npmjs.com/package/asposestoragecloud
[11]: http://www.aspose.com/docs/display/barcodecloud/Home
[12]: http://www.aspose.com/docs/display/barcodecloud/Developer+Guide
[13]: http://dashboard.aspose.cloud/