1.0.7 • Published 5 years ago

track-my-parcel v1.0.7

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

track-package

Module to track packages from different carriers using only a tracking number. No account needed.

Supported carrier:

  • UPS
  • Fedex

Usage

npm install track-my-parcel

or

yarn add track-my-parcel
const tracker = require('track-my-parcel');

tracker.Track('SOME-TRACKING-NUMBER', (infos,err) => {
  if(err){
    console.error(err);
    return;
  }
  console.log('GOT INFOS', infos);
});

Contribute

Contributions are more than welcome. The only rule is that every tracker should run without any sort of authentication.

This module is written in typescript.

To build the app run

  yarn build

To run

  node lib/index.js

Or build and run by launching

  yarn start

Tests

TODO add tests

Deploy

npm version patch
npm publish

Many thanks to

Carl-Johan Kihl for showing the way on how to build and publish an NPM Typescript package

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago