0.0.3 • Published 5 years ago

correios-tracker v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Correios Tracker (Non Official)

This is a Brazilian National Post (Correios) tracker.

It makes a request in the official website, and parses the HTML into a javascript object.

Warning: It might break when Correios change their payload result.

Installation

npm install correios-tracker

Usage

const correiosTracker = require('correios-tracker');

correiosTracker('AA123456789BR')
  .then(result => {
    console.log(result);
  })
  .catch(error => {
    console.error(error);
  });

Response Payload

[
  {
    date: 'DD/MM/YYYY hh:mm',
    location: 'CITY / STATE',
    description: 'Detailed description'
  }
]
0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago