/sro.js

Node.js package for track Correios objects.

Primary LanguageJavaScriptMIT LicenseMIT

sro.js

Node.js package for track Correios objects.

Features

  • Track Correios objects

Prerequisites

Installation

npm install sro.js

Example

const Correios = require('sro.js');

const correios = new Correios();

(async () => {
  try {
    const track = await correios.track('PX547037143BR');
    console.log(track);
  } catch (error) {
    console.error(error);
  }
})();

Built With

Authors

Acknowledgments