open-index/open-npm huggingface dataset:
npm package: @remosi/rcm-client
Description: Remosi Config Management Client
Author: REMOSI TECHNOLOGY OU
Latest version: 1.0.4

# rcm-client

Fast, unopinionated, minimalist config manager for [node](http://nodejs.org).

```js
const RCM = require("rcm-client");

const config = new RCM({
  token: "xxx",
  decode: true, // Decode supported format (JSON/YAML)
});

config
  .load("config name")
  .then((config) => console.log(config))
  .catch((error) => console.log(error));
```

## Service Provider

The service provided by Remosi Technology OU, before use first you should register for Remosi Cloud Services. For more information visit [Remosi website](https://remosi.com/)

## Installation

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/).

Before installing, [download and install Node.js](https://nodejs.org/en/download/).
Node.js 10 or higher is required.

If this is a brand new project, make sure to create a `package.json` first with
the [`npm init` command](https://docs.npmjs.com/creating-a-package-json-file).

Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```bash
$ npm i @remosi/rcm-client
```

## Config watch

With config watch you will be able to keep track config changes

```js
config.on("update", (info) => {
  console.log(`config ${info.configName} updated and ${info.action} required!`);
  console.log("Latest config:" + info.content);
});

// Start watching
config.watch("config name");
```
npm package: @remote-app/transmission-client
Description: Transmission RPC client
Latest version: 0.23.2

# @remote-app/transmission-client

![npm](https://img.shields.io/npm/v/@remote-app/transmission-client)

A lightweight [Transmission](https://transmissionbt.com/) RPC client for Node.js and React Native.

## Install

```bash
npm install @remote-app/transmission-client
```

## Usage

```typescript
import TransmissionClient from "@remote-app/transmission-client";

const client = new TransmissionClient({
  url: "http://localhost:9091/transmission/rpc",
  username: "admin",
  password: "admin",
});

// Get all torrents
const response = await client.request({
  method: "torrent-get",
  arguments: {
    fields: ["id", "name", "status", "percentDone", "rateDownload"],
  },
});

console.log(response.arguments.torrents);

// Add a torrent
await client.request({
  method: "torrent-add",
  arguments: { filename: "magnet:?xt=urn:btih:..." },
});

// Update session settings
await client.request({
  method: "session-set",
  arguments: { "alt-speed-down": 500 },
});
```

The client handles Transmission's CSRF protection automatically (409 session-id negotiation).

## API

The client exposes a single typed `request` method. The `method` field determines which arguments are accepted and what the response looks like.

### Torrent methods

- `torrent-start` / `torrent-start-now` / `torrent-stop`
- `torrent-verify` / `torrent-reannounce`
- `torrent-set` / `torrent-get`
- `torrent-add` / `torrent-remove`
- `torrent-set-location` / `torrent-rename-path`

### Session methods

- `session-get` / `session-set`
- `session-stats` / `session-close`

### Queue methods

- `queue-move-top` / `queue-move-up` / `queue-move-down` / `queue-move-bottom`

### Other

- `blocklist-update`
- `port-test`
- `free-space`
- `group-get` / `group-set`

## Error handling

```typescript
import TransmissionClient, {
  HTTPError,
  TransmissionError,
  ResponseParseError,
} from "@remote-app/transmission-client";

try {
  await client.request({ method: "session-stats" });
} catch (error) {
  if (error instanceof HTTPError) {
    // Non-200 HTTP response (e.g. 401 Unauthorized)
    console.error(error.status, error.message);
  } else if (error instanceof TransmissionError) {
    // Transmission returned result !== "success"
    console.error(error.message);
  } else if (error instanceof ResponseParseError) {
    // Response body was not valid JSON
    console.error(error.status, error.body);
  }
}
```

## License

MIT
npm package: @remote-error-monitor/sdk
Description: Легковесный SDK для отправки фронтенд ошибок в Remote Error Monitor.
Latest version: 1.0.2

# @remote-error-monitor/sdk

Легковесный SDK для отправки ошибок из браузерных приложений в сервис Remote Error Monitor.

## Установка

```bash
npm install @remote-error-monitor/sdk
# или
yarn add @remote-error-monitor/sdk
```

## Использование

```ts
import { remoteErrorMonitor } from '@remote-error-monitor/sdk';

remoteErrorMonitor.init({
  endpoint: 'https://monitor.example.com/api',
  apiKey: '<PROJECT_API_KEY>',
  release: '1.5.0',
  environment: 'production',
});

remoteErrorMonitor.captureError(new Error('Test error'), {
  metadata: { feature: 'checkout' },
});
```

SDK автоматически перехватывает `window.onerror` и `unhandledrejection`. Для ручного завершения работы используйте `remoteErrorMonitor.destroy()`.

Больше примеров в `docs/sdk-integration.md`.
npm package: @remote-kakao/core
Description: A Node.js module that helps you create KakaoTalk bots.
Author: thoratica
Latest version: 2.0.0-alpha.3

![remote-kakao banner](https://raw.githubusercontent.com/remote-kakao/core/main/images/banner.png)

# remote-kakao (alpha)

[Discord Server](https://discord.gg/T9PrmtcR8a)

## About

remote-kakao is a Node.js module that makes it easier to create unofficial KakaoTalk bots by bridging [MessengerBot](https://play.google.com/store/apps/details?id=com.xfl.msgbot) and Node.js, over UDP or TCP.

## Requirements

- Node.js
- Android smartphone with [KakaoTalk](https://play.google.com/store/apps/details?id=com.kakao.talk) & [MessengerBot](https://play.google.com/store/apps/details?id=com.xfl.msgbot) installed

## Example

```ts
import { UDPServer } from "@remote-kakao/core";

const prefix = ">";
const server = new UDPServer();

server.once("ready", (port) => {
  console.log(`Server ready on port ${port}!`);
});

server.on("chat", async (msg) => {
  if (!msg.content.startsWith(prefix)) return;

  const args = msg.content.split(" ");
  const cmd = args.shift()?.slice(prefix.length);

  if (cmd === "ping") {
    /*
      this command's result is the ping between Node.js and MessengerBot,
      not between MessengerBot and the KakaoTalk server.
    */
    const timestamp = Date.now();
    await msg.replyText("Pong!");
    msg.replyText(`${Date.now() - timestamp}ms`);
  }
});

server.start();
```

## Plugins

<!-- [@remote-kakao/kakaolink-plugin](https://github.com/remote-kakao/kakaolink-plugin) -->
npm package: @remote-kakao/kakaolink-plugin
Description: ![remote](https://raw.githubusercontent.com/remote-kakao/core/main/images/banner.png)
Latest version: 1.0.8

![remote](https://raw.githubusercontent.com/remote-kakao/core/main/images/banner.png)

# kakaolink-plugin

[Discord Server](https://discord.gg/T9PrmtcR8a)

## About

kakaolink-plugin is a remote-kakao plugin for sending [KakaoLinks](https://developers.kakao.com/product/message) instead of plain text.

## Requirements

- Node.js v17+
- `@remote-kakao/core` v1+

## Example

```ts
import { Server } from '@remote-kakao/core';
import KakaoLinkPlugin from '@remote-kakao/kakaolink-plugin';

const config = {
  email: 'email@kakao.com',
  password: 'p@ssw0rd',
  key: '00000000000000000000000000000000',
  host: 'https://example.com',
};

const prefix = '>';
const server = new Server();

server.usePlugin(KakaoLinkPlugin, config);

server.on('message', async (msg) => {
  if (!msg.content.startsWith(prefix)) return;

  const args = msg.content.split(' ');
  const cmd = args.shift()?.slice(prefix.length);

  if (cmd === 'kakaolink') {
    msg.replyKakaoLink({
      id: 00000, // KakaoTalk Message Template id
      args: { arg1: args[0], arg2: args[1] }, // KakaoTalk Message Template arguments
    });
  }
});

server.start(3000);
```