New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

packmule

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

packmule

Universal mail tracking for node.

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-42.86%
Maintainers
1
Weekly downloads
 
Created
Source

packmule

Wrapper that returns standardized javascript objects from various shipping APIs.

Usage:

Get tracking information:

var packet = {
    "carrier":      "usps",
    "number":       "EJ958088694US"
};

var credentials = {id: 'YOUR_USER_ID', testing: true};
//use testing: true to use testing rather than production servers

tracking.track(credentials, packet, function (tracking) {
    console.log("USPS");
    if (tracking.status)
        console.log(tracking.data); 
    else
        console.log(tracking.issues);
});

Active Carriers:

  • fedex
    • Example Credentials: {key: 'YOUR_KEY', password: 'YOUR_PASSWORD', number: 'YOUR_ACCOUNT_NUMBER', meter: 'YOUR_METER_NUMBER'}
  • ups
    • Example Credentials: {key: 'YOUR_KEY', user: 'YOUR_USERNAME', password: 'YOUR_PASSWORD'}
  • usps
    • Example Credentials: {id: 'YOUR_USER_ID'}

Installation:

npm install packmule

... or to install the package globally:

npm install -g packmule

Thank You To:

Michael Nowack (github.com/syranez), who originally created the dhl module, which scrapes from carrier tracking sites. Much of the organization of this module is based on his.

License:

Copyright (c) 2013 Patrick Facheris, MIT LICENSE

Keywords

FAQs

Package last updated on 22 Jan 2014

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