Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

detect-tracking-code-company

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-tracking-code-company

detect Iranian post company based on their tracking code

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

detect-tracking-code-company

Downloads Size

detect Iranian post company based on their tracking code

Install

npm:

npm install detect-tracking-code-company

Use

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"

list of available postal companies
  1. post
  2. tipaxco
  3. tipaxco (contract)
  4. mahex
  5. chapar
  6. karapost
  7. tntiran

want to help ?

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)

MIT © Peyman farahmand

Keywords

FAQs

Package last updated on 22 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc