Skip to content

Commit

Permalink
upgrade barcode sdk to v8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
yushulx committed Jan 26, 2022
1 parent 580cf9c commit e904d5c
Show file tree
Hide file tree
Showing 12 changed files with 2,994 additions and 2,274 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Node.js Barcode Addon Written in C++
# Node.js Barcode Reader SDK
![version](https://img.shields.io/npm/v/barcode4nodejs.svg)

A Node.js barcode addon built with [Dynamsoft Barcode Reader C++ SDK](https://www.dynamsoft.com/barcode-reader/overview/). It helps developers to build Node.js barcode apps for Windows, Linux, macOS, and Raspberry Pi.
The Node.js barcode reader SDK is implemented by wrapping [Dynamsoft Barcode Reader C++ SDK](https://www.dynamsoft.com/barcode-reader/overview/). It helps developers to build Node.js barcode apps for Windows, Linux, macOS, and Raspberry Pi.

## What You Should Know
- [![](https://img.shields.io/badge/Download-Offline%20SDK-orange)](https://www.dynamsoft.com/barcode-reader/downloads)
- [![](https://img.shields.io/badge/Get-30--day%20FREE%20Trial%20License-blue)](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr)


## Requirements
- Node v14.16.0
- Dynamsoft Barcode Reader v8.8
- Platform-specific C/C++ compiler
- node-gyp

Expand Down Expand Up @@ -130,5 +130,3 @@ let params = {
template = JSON.stringify(params);
```

## Contact Us
[email protected]
1 change: 1 addition & 0 deletions examples/command-line/base64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
JVBERi0xLjQKJdPr6eEKMSAwIG9iago8PC9UaXRsZSAoRG9jdW1lbnRvIHNlbnphIHRpdG9sbykKL1Byb2R1Y2VyIChTa2lhL1BERiBtOTEgR29vZ2xlIERvY3MgUmVuZGVyZXIpPj4KZW5kb2JqCjMgMCBvYmoKPDwvY2EgMQovQk0gL05vcm1hbD4+CmVuZG9iago0IDAgb2JqCjw8L1R5cGUgL1hPYmplY3QKL1N1YnR5cGUgL0ltYWdlCi9XaWR0aCA0NjA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PYmplY3QgPDwvWDQgNCAwIFIKL1g1IDUgMCBSPj4+PgovTWVkaWFCb3ggWzAgMCA1OTYgODQyXQovQ29udGVudHMgNiAwIFIKL1N0cnVjdFBhcmVudHMgMAovUGFyZW50IDcgMCBSPj4KZW5kb2JqCjcgMCBvYmoKPDwvVHlwZSAvUGFnZXMKL0NvdW50IDEKL0tpZHMgWzIgMCBSXT4+CmVuZG9iago4IDAgb2JqCjw8L1R5cGUgL0NhdGFsb2cKL1BhZ2VzIDcgMCBSPj4KZW5kb2JqCnhyZWYKMCA5CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDA3MzYxIDAwMDAwIG4gCjAwMDAwMDAxMTIgMDAwMDAgbiAKMDAwMDAwMDE0OSAwMDAwMCBuIAowMDAwMDA0MjIxIDAwMDAwIG4gCjAwMDAwMDcxMzkgMDAwMDAgbiAKMDAwMDAwNzU4MiAwMDAwMCBuIAowMDAwMDA3NjM3IDAwMDAwIG4gCnRyYWlsZXIKPDwvU2l6ZSA5Ci9Sb290IDggMCBSCi9JbmZvIDEgMCBSPj4Kc3RhcnR4cmVmCjc2ODQKJSVFT0Y=
18 changes: 18 additions & 0 deletions examples/command-line/base64decoding.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
var dbr = require('../../index.js');
var barcodeTypes = dbr.barcodeTypes;
var readline = require('readline');
var fs = require('fs');

ret = dbr.initLicense('t0068MgAAABFQA39jYCWHtte4UvAS5+TiD6ciBPjNkepWU2aIc2gw9U4UmCoI1RnRWYLYfDr7gngpEmrjUZ3/+WVtSQ6iJNc=');

fs.readFile('base64.txt', 'utf8' , (err, data) => {

dbr.decodeBase64Async(data, barcodeTypes, function (err, msg) {
for (let index in msg) {
var result = msg[index]
console.log(result['format']);
console.log(result['value']);
console.log("##################");
}
}, "");
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "barcode4nodejs",
"version": "7.4.0",
"version": "8.8.0",
"description": "Node.js bindings to Dynamsoft Barcode Reader C/C++ SDK.",
"keywords": [
"barcode",
Expand Down
Binary file modified platforms/linux/libDynamicPdf.so
Binary file not shown.
Binary file modified platforms/linux/libDynamsoftBarcodeReader.so
Binary file not shown.
Binary file modified platforms/macos/libDynamsoftBarcodeReader.dylib
Binary file not shown.
Binary file modified platforms/windows/DBRx64.lib
Binary file not shown.
Binary file modified platforms/windows/DynamsoftBarcodeReaderx64.dll
Binary file not shown.
Loading

0 comments on commit e904d5c

Please sign in to comment.