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

courier_finder

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

courier_finder

Find a courier company from a passed in connote.

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

courier_finder

Find a courier company from a passed in connote.

Build Status

Supported courier companies:

  • Australia Post
  • Couriers Please
  • Fastway
Usage
const courier_finder = require('courier_finder')

const connote = "xxxxxxxxx"
const courier = courier_finder(connote)

A valid connote will return an object

{
  courier_name: "Name of courier",
  tracking_url: "http://tracking_url_for_connote"
}

An invalid connote will return an error object

{
  error: true,
  message: "Courier details not found from provided connote: xxxx"
}

A connote will be invalid if it doesn't match any of the validity rules of the suppported courier companies.

Installation
npm install courier_finder

or

yarn add courier_finder
Licence

MIT

Keywords

FAQs

Package last updated on 11 Jun 2019

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