open-index/open-npm huggingface dataset:
npm package: @notscripter/react-native-math
Description: react-native-math
Author: Marc Rousavy
Latest version: 0.0.1

# react-native-nitro-template

This is a template for Nitro Modules.

## Usage

Clone this repo, and change all `$$*$$` names according to your `nitro.json` file.

## Contributing

Contribute a change to this template to update it for newer React Native versions.

## Structure

- [`android/`](android): All your `android`-specific implementations.
  - [`build.gradle`](android/build.gradle): The gradle build file. This contains four important pieces:
    1. Standard react-native library boilerplate code
    2. Configures Kotlin (`apply plugin: 'org.jetbrains.kotlin.android'`)
    3. Adds all Nitrogen files (`apply from: '.../NitroMath+autolinking.gradle'`)
    4. Triggers the native C++ build (via CMake/`externalNativeBuild`)
  - [`CMakeLists.txt`](android/CMakeLists.txt): The CMake build file to build C++ code. This contains four important pieces:
    1. Creates a library called `NitroMath` (same as in `nitro.json`)
    2. Adds all Nitrogen files (`include(.../NitroMath+autolinking.cmake)`)
    3. Adds all custom C++ files (only `HybridTestObjectCpp.cpp`)
    4. Adds a `cpp-adapter.cpp` file, which autolinks all C++ HybridObjects (only `HybridTestObjectCpp`)
  - [`src/main/java/com/margelo/nitro/math/`](android/src/main/java/com/margelo/nitro/math/): All Kotlin implementations.
    - [`NitroMathPackage.java`](android/src/main/java/com/margelo/nitro/math/NitroMathPackage.java): The react-native package. You need this because the react-native CLI only adds libraries if they have a `*Package.java` file. In here, you can autolink all Kotlin HybridObjects.
- [`cpp/`](cpp): All your cross-platform implementations. (only `HybridTestObjectCpp.cpp`)
- [`ios/`](ios): All your iOS-specific implementations.
- [`nitrogen/`](nitrogen): All files generated by nitrogen. You should commit this folder to git.
- [`src/`](src): The TypeScript codebase. This defines all HybridObjects and loads them at runtime.
  - [`specs/`](src/specs): All HybridObject types. Nitrogen will run on all `*.nitro.ts` files.
- [`nitro.json`](nitro.json): The configuration file for nitrogen. This will define all native namespaces, as well as the library name.
- [`NitroMath.podspec`](NitroMath.podspec): The iOS podspec build file to build the iOS code. This contains three important pieces:
  1. Specifies the Pod's name. This must be identical to the name specified in `nitro.json`.
  2. Adds all of your `.swift` or `.cpp` files (implementations).
  3. Adds all Nitrogen files (`add_nitrogen_files(s)`)
- [`package.json`](package.json): The npm package.json file. `react-native-nitro-modules` should be a `peerDependency`.
npm package: @notsuhas/claude-statusline
Description: Robbyrussell-themed status line for Claude Code with rate limits, session time, and git info
Author: Suhas
Latest version: 1.1.1

# Claude Statusline

A robbyrussell-themed status line for [Claude Code](https://claude.ai/code) with API rate limits, session time, and git integration.

Works on macOS and Linux, with or without Oh My Zsh.

## Preview

```
➜  my-project git:(main) ✗  Opus 4.6  ctx: 42%  ⏱ 23m
  ◉◉◉◉◉◎◎◎◎◎ 48% (5h)  ◉◉◎◎◎◎◎◎◎◎ 15% (7d)
```

**Line 1:** Directory, git branch/status, model, context usage, session time

**Line 2:** API rate limits (5-hour and 7-day) — shown only if credentials are available

## Install

With npm:

```
npx @notsuhas/claude-statusline@latest
```

Without npm:

```
curl -fsSL https://raw.githubusercontent.com/notsuhas/claude-statusline/main/install.sh | bash
```

Restart Claude Code after installing.

## Uninstall

```
npx @notsuhas/claude-statusline@latest --uninstall
```

Or:

```
curl -fsSL https://raw.githubusercontent.com/notsuhas/claude-statusline/main/install.sh | bash -s -- --uninstall
```

## What It Shows

| Segment | Description |
|---|---|
| `➜` | Green arrow |
| Directory | Current working directory |
| `git:(branch) ✗` | Git branch and dirty indicator |
| Model | Current Claude model |
| `ctx: N%` | Context window usage |
| `⏱ Nm` | Session elapsed time |
| Rate limit bars | 5-hour and 7-day API usage (if credentials available) |

## Requirements

- **bash** 3.2+
- **jq** (auto-installed if missing)
- **git** (optional — git info omitted if not installed)
- **curl** (optional — rate limits omitted if not installed)

## License

MIT
npm package: @notta-labs/notta-cli
Description: Notta CLI tool
Latest version: 1.0.2

# Notta CLI

Command-line tool for audio/video transcription and record management through Notta.

## Installation

```bash
npm install -g @notta-labs/notta-cli
notta --version
```

## Usage

```bash
# Authenticate (opens browser for OAuth)
notta auth setup

# Transcribe a file
notta transcribe /path/to/meeting.mp4 --language zh-CN

# Check status
notta status <record_id> --wait

# View transcription result
notta view <record_id>

# Search records
notta search "keyword"

# List all records
notta list
```

## Commands

| Command | Purpose | Usage |
|---------|---------|-------|
| `auth setup` | OAuth login | `notta auth setup [--port 8888]` |
| `transcribe` | Upload & transcribe | `notta transcribe <file> [--language en-US]` |
| `status` | Check status | `notta status <record_id>` |
| `view` | Get result | `notta view <record_id>` |
| `search` | Search records | `notta search [keyword] [--page 1] [--page_size 10]` |
| `list` | List records | `notta list [group_id] [--order_by created] [--order_type desc]` |

## Supported Languages

`zh-CN` `zh-TW` `en-US` `en-GB` `ja-JP` `ko-KR` `es-ES` `fr-FR` `de-DE` `ru-RU`

Default language is `ja-JP`. Use `--language` to specify.
npm package: @notthatnathan/use-element-size
Description: A React hook for watching an element’s width and height.
Author: Nathan Fitzsimmons
Latest version: 1.1.11

# useElementSize

React hook to track the size of an element. Pass an element `ref` that you’d like to observe. Its initial and changing `width` and `height` are returned.


## Example

```js
const ParentComponent = () => {
  const parentRef = useRef(null)
  const [width, height] = useElementSize(parentRef, [300, 100])

  return (
    <div ref={parentRef}>
      <MyComponent parentWidth={width} parentHeight={height} />
    </div>
  )
}
```

## Arguments

- `ref`: The element ref to watch for size changes.
- `defaultSize` (optional): Provide a default size to return if a measurement isn’t yet available. Helpful for server-side rendering.

---

[Read the blog post](https://blog.nathanfitzsimmons.com/2021/05/05/window-pains-using-element-queries-in-your-react-app/)
npm package: @notthedom/js-fetch
Description: Regular fetch appended with .then(r => r.json())
Author: Dom van Almsick
Latest version: 1.0.2

# @notthedom/js-fetch

## Maybe the smallest module of all time 🥇

> Wrapper around node-fetch that appends `.then(res => res.json())` for you

### Example usage

```javascript
import jsFetch from '@notthedom/js-fetch';

const URL = 'https://api.someone/endpoint';
const AUTH = {
  headers: {
    authorization: `Bearer ${mySecretBearerToken}`,
  },
};

// no more repetitive typing of .then(res => res.json()) or equivalent
const data = await jsFetch(URL, AUTH);

// data is now ready to consume as a beautiful JS object
```

### Note on error handling

- The module appends `.then()` but no `.catch()` to a request

- Assumed usage with async/await

- Therefore left it to the user to implement typical try/catch, or their preferred error handling strategy.
npm package: @notthedom/logged
Description: Minimal config console.log prettifier
Author: Dom van Almsick
Latest version: 1.0.0

# @notthedom/logged

## What is it?

> A variety of styled equivalents of console.log

## Installation

> The module is scoped to my npm account, hence the `@notthedom` in the install command

```shell
npm install --save-dev @notthedom/logged
```

- exposes five variations of logging functions as **named** exports.

### The variants

- `success`

- `info`

- `warn`

- `error`

- `log`

  - this is the native `console.log` accessible by a shorter name

## Import & Usage

> esm named import syntax

```javascript
import { success, info, warn, error, log } from '@notthedom/logged';

success('Congrats you are a success!');
info('Some serious and useful information for you');
warn('You might want to watch out for this issue...');
error('Looks like something went wrong, good luck figuring it out');
```

## Example usage screenshot

![Alt Screenshot](./src/assets/screenshot.png)

## Links

- Project repository: https://github.com/dominicvana/logged

- Issue tracker: https://github.com/dominicvana/logged/issues

## Licensing

This project is licensed under MIT license.