paddle-sdk
TypeScript icon, indicating that this package has built-in type declarations

4.6.2 • Public • Published

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:

$ npm install paddle-sdk

or using yarn:

$ 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');

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.

/paddle-sdk/

    Package Sidebar

    Install

    npm i paddle-sdk

    Weekly Downloads

    1,737

    Version

    4.6.2

    License

    MIT

    Unpacked Size

    92.4 kB

    Total Files

    24

    Last publish

    Collaborators

    • avaly