
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
ts-shipment-tracking
Advanced tools
Unified shipment tracking data from FedEx, UPS, and USPS APIs.
Returns a unified response from FedEx, UPS, and USPS tracking APIs.
$ npm install ts-shipment-tracking
Courier API credentials are stored using dotenv. If you do not have dotenv installed:
$ npm install dotenv
Add the following credentials to your .env
file:
FEDEX_KEY=
FEDEX_PASSWORD=
FEDEX_ACCOUNT_NUMBER=
FEDEX_METER_NUMBER=
UPS_ACCESS_LICENSE_NUMBER=
USPS_USER_ID=
Example input:
import { track, trackByCourierCode, trackFedex } from 'ts-shipment-tracking';
(async () => {
const exampleOne = await track('<fedex_or_ups_or_usps_tracking_number>');
console.log(exampleOne);
// or
const exampleTwo = await trackByCourierCode('ups', '<ups_tracking_number>');
console.log(exampleTwo);
// or
const exampleThree = await trackFedex('<fedex_tracking_number>');
console.log(exampleThree);
})();
Example output:
{
events: [
{
status: 'IN_TRANSIT',
label: 'Arrived at FedEx location',
location: 'LEBANON TN US 37090',
date: 1616823540000
},
...
],
estimatedDelivery: 1616996340000
}
Statuses:
'UNAVAILABLE'
'LABEL_CREATED'
'IN_TRANSIT'
'OUT_FOR_DELIVERY'
'DELIVERY_ATTEMPTED'
'RETURNED_TO_SENDER'
'EXCEPTION'
'DELIVERED'
FAQs
Unified shipment tracking data from FedEx, UPS, and USPS APIs.
The npm package ts-shipment-tracking receives a total of 0 weekly downloads. As such, ts-shipment-tracking popularity was classified as not popular.
We found that ts-shipment-tracking demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.