0.0.1-development • Published 3 months ago

package-tracking v0.0.1-development

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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