open-index/open-npm huggingface dataset:
npm package: @matjarawal/react-native-user-tracker
Description: Effortlessly track user interactions in React Native with 'react-native-user-tracker,' sending customizable data to your specified host and endpoint.
Author: barimehdi77
Latest version: 0.0.2

# react-native-user-tracker

Effortlessly track user interactions in React Native with 'react-native-user-tracker,' sending customizable data to your specified host and endpoint.

## Installation

```sh
npm install react-native-user-tracker
```

## Usage

```ts
import Tracker from 'react-native-user-tracker';
import type {
  AppTrackerConfiguration,
  NetworkConfiguration,
  TrackedUserConfiguration,
} from '../../src/types';

// ...

export default function App() {
  const nework: NetworkConfiguration = {
    host: 'localhost:8080/',
    endpoint: '/collector',
    method: 'post',
  };
  const appTracker: AppTrackerConfiguration = {
    appId: 'example app',
    appLanguage: 'en',
    devicePlatform: Platform.OS,
  };
  const trackedUser: TrackedUserConfiguration = {
    userId: '77',
  };

  const tracker = new Tracker(nework, appTracker, trackedUser);
  return (
    <View style={styles.container}>
      <Text>Start integration the package with your application</Text>
    </View>
  );
}
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @matkhl/prettier
Description: Unified prettier configuration in personal projects as an npm package.
Latest version: 0.1.0

# @matkhl/prettier

## Introduction

Unified prettier configuration in personal projects as an npm package.

## Usage

Install as dependency:

```shell
yarn add -D @matkhl/prettier
```

Configure in `package.json`:

```json
{
  "prettier": "@matkhl/prettier"
}
```
npm package: @matkirit/claude-agent-telemetry
Description: Drop-in OpenTelemetry instrumentation for Claude Agent SDK
Latest version: 1.0.0

# Claude Agent Telemetry

Drop-in OpenTelemetry instrumentation for Claude Agent SDK. Add full observability (logs, traces, metrics) with one line of code.

## Quick Start

```typescript
import { withTelemetry } from "@matkirit/claude-agent-telemetry";
import { query } from "@anthropic-ai/claude-agent-sdk";

// Just wrap your query - that's it
for await (const msg of withTelemetry(query({ prompt }))) {
  handleMessage(msg);
}
```

## Configuration

Set the required environment variable:

```bash
export OTEL_EXPORTER_OTLP_ENDPOINT="http://your-collector:4318"
```

All configuration is via environment variables:

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `OTEL_EXPORTER_OTLP_ENDPOINT` | **Yes** | - | Your OTLP collector endpoint |
| `OTEL_SERVICE_NAME` | No | `claude-agent` | Service name in telemetry |
| `OTEL_SERVICE_VERSION` | No | `1.0.0` | Service version |
| `OTEL_TRACES_SAMPLER_ARG` | No | `1.0` | Trace sample rate (0.0-1.0) |
| `TELEMETRY_ENABLED` | No | `true` | Master switch for all telemetry |

## What You Get

- **Traces**: Session → Turn → LLM Request / Tool spans
- **Logs**: Session lifecycle, tool calls, LLM responses, errors
- **Metrics**: Token usage, costs, durations, error counts

## Installation

```bash
npm install @matkirit/claude-agent-telemetry
```

## Kubernetes Deployment

```yaml
env:
  - name: OTEL_EXPORTER_OTLP_ENDPOINT
    value: "http://otel-collector.monitoring:4318"
  - name: OTEL_SERVICE_NAME
    value: "my-agent"
  - name: OTEL_TRACES_SAMPLER_ARG
    value: "0.1"  # 10% sampling in production
```

## Graceful Shutdown

```typescript
import { registerShutdownHandlers } from "@matkirit/claude-agent-telemetry";

registerShutdownHandlers();  // Call once at startup
```

## Metrics

| Metric | Type | Description |
|--------|------|-------------|
| `agent.sessions` | Counter | Total sessions |
| `agent.tool_calls` | Counter | Tool invocations by name |
| `agent.tokens` | Counter | Tokens by type (input/output) |
| `agent.cost_microdollars` | Counter | Cost tracking |
| `agent.session.duration_ms` | Histogram | Session duration |
| `agent.tool.duration_ms` | Histogram | Tool execution time |
npm package: @matkretkurs/randomid-generator
Description: > App generates random id for given amount of characters.
Latest version: 1.0.2

> App generates random id for given amount of characters.

## Installation

Using npm:

```js
npm i @matkretkurs/randomid-generator
```

## Usage

```js
const randomID = require('@matkretkurs/randomid-generator');

console.log(randomID(10)); //returns 88gAPncMnm (10 characters id as example)
```