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

The 4 Gun Safety Rules and Why They’re Effective

Gun Safety 101

Though everything you need to know about firearm safety can’t be completely boiled down into just a few rules, following the 4 universal gun safety rules will go a long way in keeping you and those around you safe. These firearm safety rules were first popularized by Jeff Cooper over fifty years ago. Variations of…

Read More

Handgun Calibers: Complete Guide for Pistols and Revolvers

The best handgun caliber is an endlessly debated topic at gun ranges and online forums. The truth is, however, there are many viable options each with their strengths and weaknesses. Below, we’ll explore the most popular revolver and pistol calibers to help you compare them and choose what’s best for your needs and abilities. Caliber…

Read More