1.0.0 • Published 9 years ago

tag-to-gtin v1.0.0

Weekly downloads
2
License
UNLICENSED
Repository
github
Last release
9 years ago

tag-to-gtin

Convert our rfid tags to gtin/ean.

npm install tag-to-gtin

Basic example

const tagConverter = require('tag-to-gtin')

const tag = '3035E8BF60548AED2276206E'
tagConverter.tagToGtin(tag, function (gtin) {
  console.log('gtin: ' + gtin)
  // gtin: 8007640865718
})

Methods

tagToGtin (tagStr, callback)

mod10control (num)