Node.js SDK for Barcode Generation, Recognition & Transformation

Node.js Cloud SDK to read barcode from specific region of image & manipulate its resolution, quality, angle, dimensions, & size etc.

  Start Free Trial
Aspose.BarCode Cloud SDK for Node.js

Aspose.BarCode Cloud SDK for Node.js


Aspose.BarCode Cloud SDK for Node.js is capable of dealing with Linear, 2D and postal Barcode generation and recognition in the cloud. Recognize Barcode images and generate barcode images in a variety of image formats: JPEG, PNG, GIF, BMP, TIFF, EMF, WMF, EXIF and ICON.

Specify Barcode Image & Text Attributes

Aspose.BarCode Cloud SDK for Node.js allows you to control all aspects of the image and text when generating barcode images. The developer can specify image width, height, border style and output image format. You can also set Barcode attributes like font style, font color, background color, barcode type and the barcode text location.


Advanced Features of Node.js SDK for Barcodes



Create & save Barcode to image file


Recognize Barcode from image file


Specify Barcode image settings


Customizable caption & font styles


Support for various Barcode symbologies


Enhance your application workflow by adding barcode functionality


Embed in documents to aid traceability


Use the recognition functions to drive your real-life work processes


Encode & decode non-English characters in 2D barcodes


Control Barcode size


Add recognition to promote 3rd party services


Optimized Code128 encoding

Barcode Customization flexibility

Barcodes generated with Aspose.BarCode Cloud SDK for Node.js can be easily customized i.e. size, foreground color, background color, specify codetext location, Rotate Barcode with suitable angle, caption (color, location and size) etc. The SDK is ideal for generating barcodes for the most common barcoding application needs.

SDK as a wrapper around REST API

Aspose.BarCode Cloud SDK for Node.js is developed on top of Cloud Rest API and it is easy to get started with Aspose.BarCode Cloud and there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & KEY details, you are ready to give Aspose.BarCode Cloud SDK for Node.js a try on any supported platform.

Barcode Generation & Recognition

A barcode is an optical representation of data, which can be read by a machine where it represents information about the item or product it is attached to and helps to quickly read information using a barcode reader. The barcode is represented by parallel lines, geometric patterns or symbols and Aspose.BarCode Cloud SDK for Node.js is appropriate when it comes to Generation of Barcode images from scratch and Recognition of existing Barcodes from images. In fact Aspose.BarCode Cloud SDK for Node.js contains all of these characteristics and provides reliable and accurate results both for barcode generation and recognition features, in one single SDK.

Set X and Y Dimensions of a Barcode - Node.js

// Instantiate Aspose.Storage instance
var storageApi = new StorageApi(config);
// Instantiate Aspose.BarCode SDK object
var barcodeApi = new BarcodeApi(config);

// Upload source file to Aspose cloud storage
storageApi.PutCreate(name , null, null, data_path + name  , function(responseMessage) {
     assert.equal(responseMessage.status, 'OK');

    // Invoke Aspose.BarCode Cloud SDK to generate image with specific X and Y dimensions of a barcode        
    barcodeApi.PutBarcodeGenerateFile("sample-barcode.png", "Aspose.BarCode Cloud SDK for Node.js", "Code128", "PNG", null, null, 1.0, 0.5, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, function(responseMessage) {
    assert.equal(responseMessage.status, 'OK');
    // Download generated barcode from storage server
    storageApi.GetDownload(name, null, null, function(responseMessage) {
        assert.equal(responseMessage.status, 'OK');
	var outfilename = "sample-barcode.png" + "." + "PNG";
	var writeStream = fs.createWriteStream(outFolder + outfilename);

Supported Barcode Symbologies

A symbology represents a relationship between the message and the Barcode and it provides all the information to encode and decode a message in the form of a Barcode. Aspose.BarCode Cloud SDK for Node.js supports large number of linear, 1D, 2D and Postal barcode symbologies, and each symbology is a type of Barcode language. Furthermore, Aspose.BarCode Cloud SDK for Node.js supports more than 40 Barcode symbologies and specified below is the list of currently supported symbologies:

  • EAN13 (Encode, decode)
  • EAN8 (Encode, decode)
  • UPCA (Encode, decode)
  • EAN13 (Encode, decode)
  • EAN8 (Encode, decode)
  • UPCA (Encode, decode)
  • UPCE (Encode, decode)
  • BooklandEAN (Encode, decode)
  • Interleaved2of5 (Encode, decode)
  • Standard2of5 (SCC14) (Encode, decode)
  • MSI (Encode, decode)
  • Code11 (Encode, decode)
  • Codabar (Encode, decode)
  • EAN14(SCC14) (Encode, decode)
  • SSCC18 (Encode, decode)
  • ITF14 (Encode, decode)
  • Matrix 2 of 5 Standard (Encode, decode)
  • PZN (Encode, decode)
  • EAN13 (Encode, decode)
  • Code128 Standard (Encode, decode)
  • EAN128 (Encode, decode)
  • Code39 Extended (Encode, decode)
  • Code39 Standard (Encode, decode)
  • Code93 Extended (Encode, decode)
  • Code93 Standard (Encode, decode)
  • IATA 2 of 5 (Encode, decode)
  • OPC (Encode, decode)

Supported 2D Barcode Symbologies

  • PDF417 (Encode, decode)
  • MacroPDF417 (Encode, decode)
  • DataMatrix (Encode, decode)
  • Aztec (Encode, decode)
  • QR (Encode, decode)
  • Italian Post 25 (Encode, decode)

Supported Postal Barcode Symbologies

  • Postnet (Encode, decode)
  • Planet (Encode, decode
  • USPS OneCode (Encode, decode)
  • Australia Post (Encode, decode)
  • Deutsche Post Identcode (Encode, decode)
  • Deutsche Post Leticode (Encode, decode)

Platform & Storage Independence

Aspose.BarCode Cloud SDK for Node.js can be used on any platform which supports HTTP requests and responses. It is completely independent of your operating system, database system or development language. All responses delivered in JSON or XML format and uses HTTP response codes to indicate related errors. You can also use the SDK with many third party storage providers including Amazon S3, Google Cloud, Google Drive and Dropbox.


Support and Learning Resources


Aspose.BarCode also offers, BarCode processing SDKs for other popular languages, as listed below: