Skip to content

avaly/paddle-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paddle.com Node.js SDK

Github Actions NPM version

Welcome to the Paddle.com Node.js SDK documentation.

Installation

Install the SDK module using npm / pnpm / yarn:

$ npm install paddle-sdk
$ pnpm install paddle-sdk
$ yarn add paddle-sdk

Usage

import { PaddleSDK } from 'paddle-sdk';

async function run() {
  const client = new PaddleSDK('your-vendor-id-here', 'your-unique-api-key-here');

  const products = await client.getProducts();
  console.log(products);

  const plans = await client.getProductPlans(123);
  console.log(plans);
}

run();

For CommonJS:

const { PaddleSDK } = require('paddle-sdk');

This package is published as ESM-only. CommonJS consumers can still use require('paddle-sdk') on Node.js 22.12.0 and newer.

Documentation

Read the documentation.

Change log

The change log can be found here: CHANGELOG.md.

Authors and license

Author: Valentin Agachi.

MIT License, see the included License.md file.

About

Paddle.com Node.js SDK

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors