rebilly-js-sdk
v62.49.0
Published
Official Rebilly API JS library for the browser and Node
Readme
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:devBuild release dist folder with sourcemap (release)
npm run build:prodRun all unit tests
npm run unitWatch unit tests and re-run on change
npm run unit:watchGenerate coverage report
npm run coverageCheck 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-typesTypescript types generation
Types are automatically created because npm run ts:bundle-types is called as part of npm run build:prod.
