https://github.com/avaly/paddle-sdk
Paddle.com Node.js SDK
https://github.com/avaly/paddle-sdk
nodejs paddle payments typescript
Last synced: about 1 year ago
JSON representation
Paddle.com Node.js SDK
- Host: GitHub
- URL: https://github.com/avaly/paddle-sdk
- Owner: avaly
- License: mit
- Created: 2017-11-19T17:09:41.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-04-27T22:25:21.000Z (about 1 year ago)
- Last Synced: 2025-04-27T23:24:30.136Z (about 1 year ago)
- Topics: nodejs, paddle, payments, typescript
- Language: TypeScript
- Homepage: https://avaly.github.io/paddle-sdk/
- Size: 396 KB
- Stars: 100
- Watchers: 6
- Forks: 34
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: License.md
Awesome Lists containing this project
README
# Paddle.com Node.js SDK
[](https://github.com/avaly/paddle-sdk/actions)
[](https://www.npmjs.com/package/paddle-sdk)
Welcome to the [Paddle.com](https://www.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
```ts
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:
```js
const { PaddleSDK } = require('paddle-sdk');
```
## Documentation
Read the [documentation](https://avaly.github.io/paddle-sdk/).
## Change log
The change log can be found here: [CHANGELOG.md](CHANGELOG.md).
## Authors and license
Author: [Valentin Agachi](http://agachi.name/).
MIT License, see the included [License.md](License.md) file.