1.0.0 • Published 7 years ago

barcode-from-binary v1.0.0

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

barcode-from-binary

Build Status

Install

$ npm install --save barcode-from-binary

Usage

const barcodeFromBinary = require('barcode-from-binary');

barcodeFromBinary('10100011010110001001100100011010001101000110101010111001011001101101100100111011001101000100101')
//=> '0 51000 01251 7'

API

barcodeFromBinary(binary)

Returns decimal value of barcode binary.

binary

Type: string

A binary representation of the barcode number in binary.

License

MIT