Simple module for verification of Energy Identification Codes (EIC).
npm install eic
EIC.verifyEIC('21Z000000000163R'); // true
EIC.verifyEIC('21z000000000163r'); // false
EIC.generateEICCheckDigit('21Z000000000163'); // 'R'
EIC.generateEICCheckDigit('21Z00000000016'); // undefined
MIT