/ean-check

JavaScript library for validating and generating EAN barcode numbers

Primary LanguageJavaScriptDo What The F*ck You Want To Public LicenseWTFPL

International Article Number

JavaScript library for validating and generating EAN barcode numbers.

Supports EAN-13 standard.

Install

npm install ean-check --save

Usage

const ean = require('ean-check');
console.log(ean.ean13.generate(123));
console.log(ean.ean13.check("1236"));
console.log(ean.ean13.check("1237"));

Links

International Article Number