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.
- Host: GitHub
- URL: https://github.com/null-none/auto-detection-carriers
- Owner: null-none
- License: mit
- Created: 2017-04-23T21:46:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T07:14:00.000Z (almost 5 years ago)
- Last Synced: 2025-09-27T12:36:23.866Z (7 months ago)
- Topics: dhl, e-coomerce, ecommerce, fedex, javascript, ontrack, track, ups, usps
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YYZQ6ZRZ3EW5C)