datamatrix-decoder
v1.1.3
Published
Decoder for medical datamatrix
Downloads
59
Maintainers
Readme
DataMatrix Decoder
Description:
Decoder for medical datamatrix, this library extract and export the essentials information contain into a DataMatrix.
How to use ?
Install the dependency with npm:
npm install datamatrix-decoder
or with warn:
yarn add datamatrix-decoder
Example:
import {readDataMatrix} from 'datamatrix-decoder'
const dataMatrix = readDataMatrix('010340093014544917221031108110753')
/**
* Should return you an object like:
* {
* gtin: '3400930145449',
* expiry: '2022-10-31',
* lot: '8110753',
* serial: null
* }
*
* /