Archive for October 2022

gtin-validator package docs

gtin-validator gtin-validator allows you to validate and work with GTIN, UPC, and other product code formats. npm i gtin-validator import { isValidGTIN, isValidCheckDigitOnGTIN, isValidStringLengthForGTIN, removeGTINLeadingZerosToUpcOrGTIN13, getFormatOfGTIN, getFormatOfMinifiedGTIN, } from “gtin-validator” Examples isValidGTIN(productCode) Returns true if the provided productCode is a valid GTIN (valid length and check digit). On invalid productCodes, returns false by default or…

Read More