open-index/open-npm huggingface dataset:
npm package: @schhteam/react-native-brother-label
Description: Brother Label native module for React Native / Expo
Latest version: 1.0.1

# @schhteam/react-native-brother-label

Private React Native + Expo native module for Brother label printing on Android.

## Install (local)

```bash
npm install ./packages/react-native-brother-label
```

## Configure Expo

Add the plugin to your Expo config:

```json
{
  "expo": {
    "plugins": ["@schhteam/react-native-brother-label"]
  }
}
```

Then regenerate native code:

```bash
npx expo prebuild --platform android --clean
```

## JS API

```ts
import { isAvailable, printLabel } from "@schhteam/react-native-brother-label";

const supported = await isAvailable();

await printLabel({
  pdfPath: "/path/to/file.pdf",
  macAddress: "AA:BB:CC:DD:EE:FF",
  model: "QL_820NWB",
  copies: 1,
  labelWidthMm: 90,
  labelHeightMm: 29
});
```