MadisonReed / usps-webtools

USPS Web Tools API wrapper
42 stars 37 forks source link

General refactor #32

Closed tmarshall closed 6 years ago

tmarshall commented 6 years ago

The node version in the package.json is way old (under version 1...)

Moved the code over to using a class rather than direct prototype (same effect).

Added lints (they are passing).

Updated tests to use ava. But can't test 'cuz I don't have a proper key. YMMV.

tmarshall commented 6 years ago

Note that I set node version to >=8.x since 8 is under active LTS (long term support). 6 would work, I think, with these changes. Though 6 is under maintenance, so should really be on 8x

tmarshall commented 6 years ago