open-index/open-npm huggingface dataset:
npm package: @ramen-ai/sdk
Description: The official TypeScript/Node.js SDK for the ramen ai PaaS and Expert Runtime.
Author: ramen ai
Latest version: 0.2.0

# @ramen-ai/sdk

The official TypeScript/Node.js SDK for the **ramen ai** platform — PaaS guardrail evaluation and Expert Runtime chat.

## Install

```bash
npm install @ramen-ai/sdk
```

## Quick Start

```ts
import { RamenClient } from '@ramen-ai/sdk';

const client = new RamenClient({ apiKey: 'ramen_ak_...' });

// Evaluate content against guardrail policies
const evaluation = await client.paas.evaluate({
  policy_ids: ['your-policy-id'],
  input: 'Content to evaluate',
});

console.log(evaluation.allowed);       // true | false
console.log(evaluation.total_violations); // GuardrailViolation[]

// Chat with a deployed Expert
const chat = await client.experts.chat('your-expert-id', 'Hello!');
console.log(chat.response);
```

## API Reference

### `RamenClient(config)`

| Option    | Type     | Required | Description                                      |
|-----------|----------|----------|--------------------------------------------------|
| `apiKey`  | `string` | Yes      | Your ramen ai API key (`ramen_ak_...`)           |
| `baseUrl` | `string` | No       | Override the default `https://api.ramenai.dev`   |

### `client.paas.evaluate(request)`

Evaluate input against one or more guardrail policies in parallel.

### `client.paas.auditAsync(request)`

Submit an asynchronous compliance audit. Results are delivered to your webhook URL.

### `client.experts.chat(expertId, message, history?)`

Send a message to a deployed Expert and receive a response.

## License

MIT
npm package: @ramenswapio/sdk
Description: 🛠 An SDK for building applications on top of Ramenswap.
Latest version: 0.0.1

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```