detect Iranian post company based on their tracking code
npm:
npm install detect-tracking-code-company
var {detect} = require('detect-tracking-code-company')
console.log(detect("<code>"));
if finding company was successful will return an object :
{
id:1,
name:"post"
}
if finding company is not successful will return "undefined"
- post
- tipaxco
- tipaxco (contract)
- mahex
- chapar
- karapost
- tntiran
if you want to help complete this library and make it more accurate you can create an issue describing the length and type of tracking code you received from a company (string, integer,word combination)