open-index/open-npm huggingface dataset:
npm package: @olehs/react-native-zeromq
Description: React Native ZeroMQ client
Author: Oleg Sokolov
Latest version: 0.8.5

# react-native-zeromq

ZeroMQ client for React Native

## Installation

### Automatic (for Android with RN 0.28 and before)

If you have rnpm installed, all you need to do is

```
npm install @olehs/react-native-zeromq
```

or

```
yarn add @olehs/react-native-zeromq
```

### Manual

#### Android (with RN 0.29 and above)

in `settings.gradle`

```
include ':react-native-zeromq'
project(':react-native-zeromq').projectDir = file('../node_modules/@olehs/react-native-zeromq/android')
```

in `android/app/build.gradle`

```
dependencies {
    compile project(':react-native-zeromq')
```

in `MainApplication.java`
add package to getPackages()

```java
import org.zeromq.rnzeromq.ReactNativeZeroMQPackage;

// ...

@Override
protected List<ReactPackage> getPackages() {
    return Arrays.<ReactPackage>asList(
        new MainReactPackage(),
        // ... ,
        new ReactNativeZeroMQPackage()
   );
}
```

Additionally multi dex support could be required.

## API

`ZeroMQ.socket(ZeroMQ.SOCKET_TYPE socketType)` (Promise) - creates new ZeroMQ socket of corresponding type

`ZeroMQ.getDeviceIdentifier()` (Promise) - returns user-friendly device identifier

`socket.bind(String address)` (Promise) - set socket to listen state (acts as a server)

`socket.connect(String address)` (Promise) - connect socket to remote server (acts as a client)

`socket.setIdentity(String identity)` (Promise) - set client identity for ZeroMQ protocol

`socket.send(String body, int flags)` (Promise) - send message. To send multipart message, use `ZMQ_SNDMORE` flag

`socket.recv(int flags)` (Promise) - read incoming message, if available. Use `ZMQ_DONTWAIT` flag to read immediately

`socket.close(String address)` (Promise) - close connection (and destroy object). Alias: `.destroy()`

## Usage

Methods should be called from React Native as any other promise.
Prevent methods from being called multiple times (on Android).

### Example

```javascript
import { ZeroMQ } from "@olehs/react-native-zeromq";

ZeroMQ.socket(ZeroMQ.SOCKET.TYPE.DEALER).then((socket) => {
  socket.connect("tcp://127.0.0.1:5566").then(() => {
    socket.send("Hi there!").then(() => {
      socket.recv().then((msg) => {
        console.log(msg);
      });
    });
  });
});
```
npm package: @olei.io/mcp-server
Description: MCP server for accessing OLEI event data via the public API
Latest version: 0.1.1

# @olei.io/mcp-server

MCP server for accessing OLEI event data from Claude Desktop, Claude Code, or any MCP-compatible client.

## Prerequisites

- An OLEI API key with **admin** scope (request access from an administrator)
- Node.js >= 20

## Setup

### Claude Desktop

Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):

```json
{
  "mcpServers": {
    "olei": {
      "command": "npx",
      "args": ["-y", "@olei.io/mcp-server"],
      "env": {
        "OLEI_API_KEY": "olei_live_your_key_here"
      }
    }
  }
}
```

### Claude Code

Add to your project's `.mcp.json`:

```json
{
  "mcpServers": {
    "olei": {
      "command": "npx",
      "args": ["-y", "@olei.io/mcp-server"],
      "env": {
        "OLEI_API_KEY": "olei_live_your_key_here"
      }
    }
  }
}
```

Restart Claude Desktop / Claude Code after adding the config.

## Available Tools

### `list_localities`

List all OLEI localities with their UUIDs. Call this first to find locality UUIDs for searching events.

### `search_events`

Search events by locality and/or geographic area within a date range.

Parameters:
- `from_datetime` (required) - Start of date range, ISO 8601
- `to_datetime` (required) - End of date range, ISO 8601
- `locality_uuid` (optional) - UUID from `list_localities`
- `latitude`, `longitude`, `radius_in_meters` (optional) - Geographic search
- `page`, `limit` (optional) - Pagination

At least `locality_uuid` or `latitude + longitude + radius_in_meters` is required.

### `get_event`

Get detailed information about a specific event by UUID.

Parameters:
- `event_uuid` (required) - UUID of the event

## Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `OLEI_API_KEY` | Yes | - | Your OLEI API key |
| `OLEI_API_URL` | No | Production URL | API base URL override |

## Local Development

```bash
cd packages/mcp-server
npm install
npx tsc
OLEI_API_KEY=olei_live_xxx node dist/index.js
```

## Publishing

```bash
cd packages/mcp-server
npx tsc
npm publish --access public --//registry.npmjs.org/:_authToken=YOUR_NPM_TOKEN
```

Requires a [granular access token](https://www.npmjs.com/settings/YOUR_USERNAME/tokens/new) with read/write permission on `@olei.io` packages.
npm package: @olekbruks/sort-resx
Description: Sort data entries of RESX files.
Author: Aleksander Bruks
Latest version: 0.1.2

# sort-resx

Sort data entries of RESX files.

```sh
npm install --save-dev @olekbruks/sort-resx
```

```sh
sort-resx File1.resx File2.resx ...
```

This node.js command line tool sorts entries in given RESX files, by their keys.

## Installation and usage

To install _sort-resx_ you need to install it from _npm_:

`npm install --save-dev @olekbruks/sort-resx`

To use this tool you may use _npm executable_:

`sort-resx ./File1.resx ./File2.resx ...`

Or use it without installing:

`npx @olekbruks/sort-resx File1.resx File2.resx ...`

This tool is intended to use with [_lint-staged_](https://www.npmjs.com/package/lint-staged).

To configure it you need to install _lint-staged_, set up the `pre-commit` git hook to run _lint-staged_, preferably by using _husky_, and create a configuration file under the name `.lintstagedrc`:

```json
{
    "*.resx": "sort-resx"
}
```