smarty-streets-as-promised

1.0.7 • Public • Published

smarty-streets-as-promised

https://github.com/alfasin/smarty-streets-as-promised

We all know what's the callback hell and glad that since ES5 we don't have to deal with it, now we have Promises and functions like async await. Yet, some libraries still require using callbacks SmartyStreets API (described in: https://smartystreets.com/docs/cloud/us-street-api) is one of them.

This package is a promisification of SmartyStreets API using bluebird.

Checkout example.js for usage and .env as an example of how to set your environment.

Kudus for Hagai Hanan for his help!

Readme

Keywords

Package Sidebar

Install

npm i smarty-streets-as-promised

Weekly Downloads

2

Version

1.0.7

License

none

Unpacked Size

2.78 kB

Total Files

5

Last publish

Collaborators

  • alfasin