Key links:
- LTS versions of Node.js
Install the CredytApi client library for JavaScript with npm:
npm install @credyt/api-clientimport { CredytApiClient } from "@credyt/api-client";
async function example() {
const credential = { key: process.env.CREDYT_API_KEY };
const client = new CredytApiClient(credential);
const result = await client.customers.list();
console.log(result);
}
async function main() {
await example();
}
main().catch(console.error);For more examples, check the samples folder.