

" -lDynamsoftBarcodeReader圆4", " -L/home/xiao/Dynamsoft/BarcodeReader4.0/Redist" " /home/xiao/Dynamsoft/BarcodeReader4.0/Include" Create AddonĬreate dbr.cc and add a method DecodeFile: If you have never touched this part before, you’d better follow the official tutorial to get started. Node.js Addons are dynamically-linked shared objects written in C/C++.
#Js barcode scanner code

Download Node.js Barcode Demo - 526.1 KBĭynamsoft Barcode Reader provides C/C++ shared libraries for Windows, Linux, and Mac.
#Js barcode scanner how to
In this post, let’s take a glimpse of how easy to build a custom Node module on Windows, Linux, and Mac by wrapping Dynamsoft Barcode Reader SDK, as well as how to integrate the module to quickly implement an online barcode reader. To extend and empower the functionalities of Node.js applications on different platforms, Node.js allows developers to create addons in C/C++. More and more Web developers tend to choose Node.js to build their Website because it is convenient to build complex server-side Web applications using only JavaScript.
