Wondering what’s next for npm?Check out our public roadmap! »

menv-js

3.0.1 • Public • Published

Melhor Envio Client API

npm (scoped) Build Status codecov semantic-release

A JavaScript library to interface with Melhor Envio API, it works with Node.js. The documentation can be found here.

🌟 Features

This library its in early stages, so it doesn't have interfaces for all MelhorEnvio features (Your PR is very welcome).

Avaiable methods:

  • calculateShipment
  • getShipmentServices
  • addItemInCart
  • checkout
  • generateLabel
  • printLabel
  • getTracking

📖 How to use?

Install the library

npm i menv-js

Import the library

import MelhorEnvio from 'menv-js';
 
const menv = new MelhorEnvio(token, isSandbox, timeout);
const response = await menv.getShipmentServices();

📚 API Docs

This library provides a promise based interface for all functions. Before you can use the library, you need to provide authentication details which will be used through API calls.

For a detailed documentation, see our Documentation.

😍 Do you like?

Please, consider supporting my work as a lot of effort takes place to create this repo! Thanks a lot.

Buy Me A Coffee

Install

npm i menv-js

DownloadsWeekly Downloads

9

Version

3.0.1

License

Apache-2.0

Unpacked Size

44.8 kB

Total Files

24

Last publish

Collaborators

  • avatar