I want to extract the price value from the GS1 data martix QR code value using Nodejs. Using the module
npm i gs1-barcode-parser
Tried the below throwing "parseBarcode" is not a function
const { parseBarcode } = require('gs1-barcode-parser');
let barcode = '\u001d01093393871222863922001405\u001d1522030631030006691095751410';
console.log(parseBarcode(barcode));
from How to use the npm module gs1-barcode-parser?
No comments:
Post a Comment