Skip to content

Repository files navigation

valid-gtin

npm version valid-gtin code size in bytes Quality Gate Status dependents Scc Count Badge

A zero cost lightweight validator function in native javascript for GTINs

Usage

import { validate } from 'valid-gtin';

if (validate(GTIN)) {
  console.log(':)');
}

Development

To run the tests please checkout this repository and run:

npm run test

Stargazers over time

Stargazers over time

About

A lightweight validator function for GTINs

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages