An open API service indexing awesome lists of open source software.

https://github.com/null-none/auto-detection-carriers

Auto-detection carriers: ups, fedex, usps, dhl, ontrac, lasership.
https://github.com/null-none/auto-detection-carriers

dhl e-coomerce ecommerce fedex javascript ontrack track ups usps

Last synced: 7 months ago
JSON representation

Auto-detection carriers: ups, fedex, usps, dhl, ontrac, lasership.

Awesome Lists containing this project

README

          

# auto-detection-carriers
Auto-detection carriers

## Install

```bash
npm install auto-detection-carriers
yarn add auto-detection-carriers
```

## Test

```bash
npm run test
yarn test
```

## Example

```javascript
var lib = require('auto-detection-carriers'),
lib.getCarrier('1ZE307F90300947572'); // ups
lib.getCarrier('449044304137821'); // fedex
lib.getCarrier('7070000000'); // dhl
lib.getCarrier('TBA000000000000'); // amazon logistic
```

## License

MIT

## Donation Button

[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YYZQ6ZRZ3EW5C)