open-index/open-npm huggingface dataset:
npm package: @skinramp/ts-sdk
Description: Skinramp TypeScript SDK
Author: Skinramp
Latest version: 0.0.6

# @skinramp/ts-sdk

Official TypeScript SDK for the Skinramp API.

## Installation

```bash
npm install @skinramp/ts-sdk
# or
yarn add @skinramp/ts-sdk
# or
pnpm add @skinramp/ts-sdk
# or
bun add @skinramp/ts-sdk
```

## Usage

### Create a Payment

```typescript
import Skinramp from "@skinramp/ts-sdk";

const skinramp = new Skinramp("sk_live_...");

const paymentId = await skinramp.payments.create({
  amount: 1000, // $10.00 in cents
  gameId: "CS2", // optional: "CS2" | "ROBLOX" | "RUST"
  metadata: { orderId: "order_123" }, // optional
});
```

### Verify Webhooks

```typescript
import { Webhook } from "@skinramp/ts-sdk";

const webhook = new Webhook("whsec_...");

// In your webhook handler
const event = webhook.verify(rawBody, {
  "webhook-id": req.headers["webhook-id"],
  "webhook-timestamp": req.headers["webhook-timestamp"],
  "webhook-signature": req.headers["webhook-signature"],
});

// event is typed as WebhookEvent<PaymentData>
console.log(event.type); // "payment.paid"
console.log(event.data); // { _id, amount, status, ... }
```

## License

MIT
npm package: @skip-adapter/postgres
Description: Adapter providing reactive access to PostgreSQL from the Skip runtime
Author: SkipLabs
Latest version: 0.0.21

# @skip-adapter/postgres

This is an adapter to connect PostgreSQL to the Skip Framework, allowing a table
of a PostgreSQL database to be used as a reactive data source.

See the [docs](https://skiplabs.io/docs/api/adapters/postgres) for more details or this
[example](https://github.com/SkipLabs/skip/blob/main/examples/hackernews/reactive_service/src/hackernews.service.ts)
to see it in use.

## Installation

Install using npm (`npm i @skip-adapter/postgres`).

## Support

Join the [Discord](https://discord.gg/ss4zxfgUBH) to talk to other community
members and developers or ask any questions.