1.0.0 • Published 7 years ago

barcode-convert-number v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

barcode-convert-number

Build Status

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