1.0.0 • Published 7 years ago
barcode-convert-number v1.0.0
barcode-convert-number
Install
$ npm install --save barcode-convert-number
Usage
const barcodeConvertNumber = require('barcode-convert-number');
barcodeConvertNumber('0001011')
//=> 9
API
barcodeConvertNumber(bars)
Returns decimal value of barcode binary number.
bars
Type: string
A binary representation of the barcode number in binary.
License
MIT
1.0.0
7 years ago