1.1.3 • Published 4 years ago

datamatrix-decoder v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

DataMatrix Decoder

npm.io

Tests

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
 * }
 *
 * /
1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.2.0-RC5

4 years ago

0.2.0-RC4

4 years ago

0.2.0-RC3

4 years ago

0.2.0-RC2

4 years ago

0.2.0-RC1

4 years ago

0.1.0

4 years ago