open-index/open-npm huggingface dataset:
npm package: @live-inspect/react-native-inspect
Description: A lightweight in‑app debug overlay for React Native signed APK/IPA builds. It captures network requests, errors, and app logs, and exposes them through an on‑device inspector UI.
Latest version: 0.0.2

# React Native Inspect — In‑App Debug Overlay for React Native (APK/IPA)

A lightweight in‑app debug overlay for React Native signed APK/IPA builds. It captures network requests, errors, and app logs, and exposes them through an on‑device inspector UI.

## Installation (npm / Yarn) — `@live-inspect/react-native-inspect`

```bash
npm install @live-inspect/react-native-inspect
# or
yarn add @live-inspect/react-native-inspect
```

## Usage

```tsx
import { InspectProvider, useInspect } from "@live-inspect/react-native-inspect";

export default function App() {
  return (
    <InspectProvider enabled={!__DEV__} bubbleVisible={true /* optional */}>
      <YourApp />
    </InspectProvider>
  );
}
```

```tsx
const { log, reportError, toggleBubble } = useInspect();
log("Checkout started", { cartId: "123" });
reportError(new Error("Payment failed"), { screen: "Checkout" });
// Optional: let users show/hide the bubble.
toggleBubble();
```

### InspectProvider options

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `enabled` | `boolean` | `false` | Enables the inspector (UI + interceptors). |
| `bubbleVisible` | `boolean` | `true` | Shows/hides the floating bubble (panel is also forced closed when hidden). |
| `config` | `Partial<InspectConfig>` | — | Advanced config (buffers, panel position, etc.). |

### useInspect() values & functions

| Name | Type | Description |
| --- | --- | --- |
| `bubbleVisible` | `boolean` | Current bubble visibility state. |
| `log` | `(message, data?, level?) => void` | Adds a log entry (`level`: `info`/`warn`/`error`). |
| `reportError` | `(error, context?) => void` | Adds an error entry. |
| `showBubble` | `() => void` | Shows the bubble. |
| `hideBubble` | `() => void` | Hides the bubble (and closes the panel). |
| `toggleBubble` | `() => void` | Toggles bubble visibility (closing panel when turning off). |

## Notes

- If `enabled` is `false`, the inspector UI and interceptors are not installed.
- Bubble visibility defaults to `true` and can be set via `InspectProvider` `bubbleVisible`.
- Storage tab is optional and only shows data if AsyncStorage is available.
- Large payloads are truncated in the UI to avoid perf issues.

## Example (Expo)

See `example/` for a minimal Expo app wired to this library.
npm package: @live/eslint-config
Description: # Notes
Latest version: 0.1.5

# @live/eslint-config

# Notes

Seems like `eslint-import-resolver-babel-module` peer depends on `babel-plugin-module-resolver`.

## Supporting TS and JS in same codebase.

https://github.com/typescript-eslint/typescript-eslint/issues/109

## Debugging ESLint and IntelliJ

Add the following line and change the ESLint IntelliJ settings back and forth to force a re-init.

```
require('fs').writeFileSync('/tmp/intellij-js', JSON.stringify({xxx}, null, 2))
```

## Shareable configs

- Resolved relative to the config file.
- If you use `package.json#eslintConfig.extends` then it will resolve from where that extends points to. But `module.exports = require(...)` won't work.
npm package: @live/pnpm
Description: Wraps pnpm so we can add functionality we want.
Latest version: 0.1.0

# pnpm wrapper

Wraps pnpm so we can add functionality we want.

# Features

## Logging

Runs pnpm with `--reporter=ndjson`, writes to file and to an sql database for later querying.

## Syncing package.json

Override `pnpm add|remove|link` to apply dependency changes to `package.json5` or `dependencies.json5` or other declarative files.

See: https://github.com/pnpm/pnpm/issues/3027

# Usage

```
pnpm-live <cmd>
```

## IntelliJ

Setup external tools and use `pnpm-idea`.
npm package: @live/swc-wallaby
Description: **TODO: Binaries/package are not published to npm yet.**
Latest version: 0.0.2

# @live/swc-wallaby

**TODO: Binaries/package are not published to npm yet.**

Returns `ranges` as needed by Wallaby custom compilers.

```diff
- import * as swc from '@swc/core'
+ import * as swc from '@live/swc-wallaby'

- const {code, map} = swc.transformSync(...)
+ const {code, map, ranges} = swc.transformSync(...)
```

See: https://wallabyjs.com/docs/config/compilers.html#writing-a-custom-compiler

# Why

Parsing AST with SWC and sending to JS is currently slow in SWC.

The JS-based parser/visitor is being deprecated, it will be Rust-only in future.

When using a JS-based visitor, the spans (locations) are raw byte positions without line number which need processing. Also, on consecutive calls, the byte positions begin from the end of the previous file.

# Building

```
npm run build-native

cd example
node .
```

# Reference

See: https://github.com/wallabyjs/public/issues/2823

Project adapted from: https://github.com/vercel/next.js/tree/canary/packages/next/build/swc

# Troubleshooting

## Error: Can not load bindings

```
Error: Can not load bindings

    at loadBinding (/Users/Vaughan/dev-mono/thirtyfive/node_modules/.pnpm/@node-rs+helper@1.3.3/node_modules/@node-rs/helper/lib/loader.js:50:11)
    at file:///Users/Vaughan/dev-mono/thirtyfive/node_modules/.pnpm/@live+swc-wallaby@0.0.1/node_modules/@live/swc-wallaby/index.js:16:18
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
```

Will usually be because of bindings compiled to wrong arch...x64 instead of arm64.

You can check what package the loader is trying to load and then check what one is installed.

Check the `package.json#optionalDepedencies` to make sure you arch is in there. I think this can be done automatically by napi with a config setting but I couldn't be bothered.

I just ran this `pnpm link /Users/Vaughan/dev/fork/+swc/swc-wallaby/npm/darwin-arm64`

You must run `pnpm link -g @live/swc-wallaby` to have it link to here.