0.1.0 • Published 5 years ago

airtm v0.1.0

Weekly downloads
3
License
MIT
Repository
bitbucket
Last release
5 years ago

This is the node module and javascript SDK for AirTM, a service that lets people use their local currency to access dollars as if they were in the United States.

Getting Started

Install the AirTM Javascript SDK with npm:

$ npm install airtm

Running Unit Tests

Start by checking out the airtm module from github:

% git clone git@bitbucket.org:airtm/payments-sdk-javascript.git
% cd payments-sdk-javascript

Copy the file .env-sample and rename it to .env. Then edit this file to add your AirTM partner credentials. The unit test framework makes use of a number of environment variables that you will also need to set. The .env-sample file has inline documentation on how to set each of these. They are:

  • AIRTM_TEST_PAYOR_EMAIL
  • AIRTM_TEST_PAYEE_EMAIL
  • AIRTM_TEST_DOESNOTEXIST_EMAIL

When you are done, just run npm test to make sure the SDK is functioning properly.

% npm install
% npm test

Copyright & License

Copyright 2018, AirTM, Inc. All rights reserved.

Licensed under the MIT license.