barcode-convert-number
v1.0.0
Published
Returns decimal value of barcode binary number
Downloads
3
Readme
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