Missing nodejs module ? building node js module to validate tracking number
After a quick search I didn’t find any nodejs solution to validate tracking number, it was easy decision to just build one!
- clone this template so we can use es6+
- cd folder && npm i
- we will add the code to the src folder
How to validate tracking number ? a quick search return regex format for the big couriers.
for best practice I tried to write modular
add some examples (demo)
edit readme file and fill the details of the package in the package.json
run yarn build && npm publish