Rebilly JS SDK library
Use this JS SDK library to consume the Rebilly API in both Node.js and browser environments.
PCI compliance note
If you need to handle raw payment card data, use Rebilly FramePay to generate tokens for your server-side logic.
Rebilly API
This library is a semantic representation of the Rebilly API. The API documentation includes SDK examples for each operation. For more information, see the most commonly used API operations or all API operations.
Usage
To install and use the JS SDK, see the JS SDK quickstart
Development
Build development dist folder without sourcemap
npm run build:dev
Build release dist folder with sourcemap (release)
npm run build:prod
Run all unit tests
npm run unit
Watch unit tests and re-run on change
npm run unit:watch
Generate coverage report
npm run coverage
Check that the generated typescript type file is valid (note: you should build the types first, by using npm run ts:bundle-types)
npm run test:check-build-types
Typescript types generation
Types are automatically created because npm run ts:bundle-types is called as part of npm run build:prod.