Module: utils/epcDecoder

Methods

calculateCheckDigitForGTIN(gtin) → {Number}

Parameters:
Name Type Description
gtin String The GTIN without the check digit
Returns:
Type
Number

convertEPCToGTIN(epc) → {String}

This method converts an EPC to its corresponding GTIN 14
Parameters:
Name Type Description
epc String The electronic product code
Returns:
Type
String