package-tracking
v0.0.1-development
Published
A library with useful functions for tracking packages with different carriers.
Downloads
28
Maintainers
Readme
Package Tracking
Provides useful functions for tracking packages.
Usage
import { getCarrier, getTrackingUrl } from 'package-tracking'
const code = '999999999999' // FedEx
getCarrier(code) // => 'FedEx'
getTrackingUrl(code) // => 'https://www.fedex.com/apps/fedextrack/?tracknumbers=999999999999'
Installation
Using npm:
npm install package-tracking
Using yarn:
yarn add package-tracking
Using bun:
bun install package-tracking