Barcode scanner using Dynamsoft Capture Vision for Node.js.
- Node.js 24 (see
.nvmrc)
nvm use (optional)
npm install| Variable | Description |
|---|---|
DYNAMSOFT_LICENSE |
Dynamsoft license key (required) |
import { dynamsoft } from './src/dynamsoft'
const image = new Uint8Array(/* image buffer */)
const barcodes = await dynamsoft(image)
console.log(barcodes)DYNAMSOFT_LICENSE='your-license-key' npm run testPlace your test image at src/test.png and custom settings at src/settings.json.