open-index/open-npm huggingface dataset:
npm package: @orderingstack/ordering-types
Description: Typescript types for @orderingstack
Author: Tomasz Rojek
Latest version: 1.42.0

# Typescript interfaces for OrderingStack

### Useful tools

- npm package [swagger-typescript-api](https://www.npmjs.com/package/swagger-typescript-api) - generate Typescript
  interfaces from Swagger, e.g.:
    - `npx swagger-typescript-api -p https://ordering.3e.pl/ordering-api/v3/api-docs`
npm package: @orderly.network/codemod
Description: `orderly-codemod` is a command-line tool to help you migrate the package import and `OrderlyAppProvider` configuration from v1 to v2
Latest version: 1.6.2

# Orderly Codemod

`orderly-codemod` is a command-line tool to help you migrate the package import and `OrderlyAppProvider` configuration from v1 to v2

## Usage

```bash
npx @orderly.network/codemod [OPTION] PATH
```

- `PATH`: Specifies the file or directory path to be transformed (required).

### Options

- `-p, --parser <string>`  
  Specifies the parser for source files. Supported options:

  - `babel`
  - `babylon`
  - `flow`
  - `ts`
  - `tsx`

  Default: `tsx`.

  Please note that when using TypeScript, you need to use the tsx parser; otherwise, the codemod cannot be correctly applied!

- `--ext, --extensions <string>`  
  Specifies file extensions to transform, with multiple extensions separated by commas. Default: `tsx`.

- `-i, --ignore <string>`  
  Specifies a glob pattern to ignore files. Default: `node_modules`.

### Examples

- **Scan all `.tsx` files in a specified directory with default settings:**

  ```bash
  npx @orderly.network/codemod src/
  ```

- **Custom extensions:**

  ```bash
  npx @orderly.network/codemod --extensions jsx src/
  ```

- **Ignore files in the `dist` folder:**

  ```bash
  npx @orderly.network/codemod --ignore dist src/
  ```

Note: Applying a codemod may disrupt your existing code formatting, so don’t forget to run prettier and/or eslint after applying the codemod!

### Help

Run the following command to display help information:

```bash
npx @orderly.network/codemod --help
```

### Error Handling

If no file or directory path is provided, the tool will display an error message:

```
Error: You have to provide at least one file/directory to transform.
```
npm package: @orderly.network/fast-place-order-plugin
Description: Orderly SDK plugin — fast-place-order
Latest version: 0.1.1-alpha.0

# @orderly.network/fast-place-order-plugin

A fast-place-order plugin for the Orderly SDK. Mounts a **draggable quick-order widget** next to the trading UI for one-click market buy/sell, quantity by percentage, and max-quantity confirmation.

<img src="assets/preview.png" alt="Fast Place Order Widget" width="400" />

## Features

### Quick Market Orders

Shows a quick-order panel beside the trading view so you can place market buy/sell orders without switching to the order form. Supports custom quantity or preset percentages (25%/50%/75%/100%).

<img src="assets/preview2.png" alt="Quick Market Order" width="400" />

### Draggable Floating Widget

The widget can be dragged to reposition and does not block the main trading area. It stays visible with the trading view for fast access.

<img src="assets/preview3.png" alt="Draggable Widget" width="400" />

### Max Quantity Confirmation

Using 100% or large quantities triggers a confirmation dialog to avoid mistakes. Supports i18n and Orderly SDK theming.

## Quick Start

### Installation

```bash
npm install @orderly.network/fast-place-order-plugin
# or
pnpm add @orderly.network/fast-place-order-plugin
# or
yarn add @orderly.network/fast-place-order-plugin
```

### Register the Plugin

```tsx
import { registerFastPlaceOrderPlugin } from "@orderly.network/fast-place-order-plugin";

const plugins = [
  registerFastPlaceOrderPlugin({
    className: "my-fast-place-order", // optional
  }),
];
```

Pass the `plugins` array to `OrderlyAppProvider`:

```tsx
<OrderlyAppProvider
  plugins={plugins}
  configStore={configStore}
  // ...other props
>
  {children}
</OrderlyAppProvider>
```

### Options

| Option      | Type     | Required | Description                                      |
|------------|----------|----------|--------------------------------------------------|
| `className`| `string` | No       | CSS class name for the quick-order widget wrapper |

### Peer Dependencies

This plugin requires the following Orderly SDK packages:

- `@orderly.network/hooks`
- `@orderly.network/plugin-core`
- `@orderly.network/i18n`
- `@orderly.network/types`
- `@orderly.network/ui`
- `@orderly.network/utils`
- `react` >= 18
- `react-dom` >= 18
npm package: @orderly.network/i18n
Description: Internationalization for orderly sdk
Latest version: 2.12.1

# @orderly.network/i18n

Internationalization and CLI tools for Orderly SDK. Based on i18next ecosystem.

## Quick start

Install the package, wrap your app root with `LocaleProvider`, and you get English by default.

```tsx
import { LocaleProvider } from "@orderly.network/i18n";

export function App() {
  return (
    <LocaleProvider>
      <YourApp />
    </LocaleProvider>
  );
}
```

For multiple locales, custom keys, Vite bundling, HTTP loading, or the CLI, see the **Documentation** links below.

## Documentation

| Topic                                                             | Link                                                     |
| ----------------------------------------------------------------- | -------------------------------------------------------- |
| AI / Agent integration                                            | [docs/guide/AGENTS.md](./docs/guide/AGENTS.md)           |
| Package exports                                                   | [docs/guide/exports.md](./docs/guide/exports.md)         |
| Integration (providers, locales, extend keys, external resources) | [docs/guide/integration.md](./docs/guide/integration.md) |
| Utils (paths and locale helpers)                                  | [docs/guide/utils.md](./docs/guide/utils.md)             |
| Examples (recommended AsyncResources + alternatives)              | [docs/guide/examples.md](./docs/guide/examples.md)       |
| CLI (`i18n` binary)                                               | [docs/guide/cli.md](./docs/guide/cli.md)                 |

**Suggested reading order:** Agents start with [AGENTS](./docs/guide/AGENTS.md). Otherwise: [Integration](./docs/guide/integration.md) (API and behavior) → [Examples](./docs/guide/examples.md) (copy-paste recipes as needed) → [CLI](./docs/guide/cli.md) / [Utils](./docs/guide/utils.md) when relevant.

Generated API notes for `src/` live under `packages/i18n/docs/` in the monorepo only (not published in the npm package). The **user guide** under `docs/guide/` is included in the package so links above work after `npm install`.

### Package exports (summary)

| Export                            | Description                                                                                                  |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `@orderly.network/i18n`           | Main entry: providers, hooks, `i18n`, resource helpers, types — see [exports guide](./docs/guide/exports.md) |
| `@orderly.network/i18n/locales/*` | Built-in locale JSON files                                                                                   |
| `@orderly.network/i18n/constant`  | Constants (`LocaleEnum`, `defaultLanguages`, …)                                                              |
| `@orderly.network/i18n/utils`     | Utilities — see [Utils](./docs/guide/utils.md)                                                               |

The default i18n namespace is **`translation`** (`defaultNS`).