open-index/open-npm huggingface dataset:
npm package: @medassistant/recorder-ui
Description: Drop-in MedAssistant recorder UI built on top of @medassistant/recorder.
Latest version: 1.0.4

# @medassistant/recorder-ui

Drop-in MedAssistant recorder UI built on top of `@medassistant/recorder`.

Full guide: https://platform.medassistant.ca/docs/react-packages/recorder-ui

## Installation

```bash
npm install @medassistant/recorder-ui
```

## Issue short-lived tokens from your backend

Keep your MedAssistant API key on the server and issue a user-scoped short-lived token from your own backend route:

```ts
import { issueShortLivedToken } from "@medassistant/recorder-ui";

async function getAuth() {
  return { userId: "replace-with-your-session-user-id" };
}

export async function POST() {
  const { userId } = await getAuth();

  if (!userId) {
    return new Response("Unauthorized", { status: 401 });
  }

  const token = await issueShortLivedToken({
    apiKey: process.env.MEDASSISTANT_API_KEY!,
    externalUserId: userId,
  });

  return Response.json(token, { status: 201 });
}
```

## Quick start

```tsx
"use client";

import { MedAssistantRecorder } from "@medassistant/recorder-ui";

async function fetchShortLivedToken() {
  const response = await fetch("/api/medassistant-token", {
    method: "POST",
  });

  if (!response.ok) {
    throw new Error("Failed to issue short-lived token");
  }

  return response.json();
}

const shortLivedToken = { getToken: fetchShortLivedToken };

export function RecorderCard() {
  return (
    <MedAssistantRecorder
      shortLivedToken={shortLivedToken}
      locale="en"
      colorMode="auto"
      style={{ width: 420, height: 560 }}
      defaultNotesEnabled
      allowedNoteCategories={["generalMedicine", "pharmacy"]}
      showNoteLanguageSelect={false}
      defaultNoteLanguage="en"
      onTranscriptReady={(transcript) => {
        console.log("Transcript ready:", transcript);
      }}
      onNoteReady={(note) => {
        console.log("Note ready:", note.id);
      }}
      onNoteFailed={(note) => {
        console.error("Note failed:", note.id);
      }}
      onError={(error) => {
        console.error("Recorder error:", error);
      }}
    />
  );
}
```

## Common props

- `locale="en" | "fr"` to set the built-in UI language
- `colorMode="auto" | "light" | "dark"` to match or override your app theme
- `showNotes={false}` if you only want transcription
- `defaultNotesEnabled` if note generation should start turned on
- `allowedNoteCategories` to keep the note picker focused on the categories you support
- `showNoteLanguageSelect={false}` with `defaultNoteLanguage` if note language should stay fixed
- `style={{ width, height }}` when the recorder needs to fit a specific embed or card layout
- `onTranscriptReady`, `onNoteReady`, and `onNoteFailed` if the parent app should react to results
- `onError` if the parent app should surface recorder-level failures

If you need full control over the layout and controls, switch to `@medassistant/recorder` instead.
npm package: @medayo/expo-cool-storybook
Description: Expo Equivalent of Storybook
Author: Calum MacRae
Latest version: 2.2.5

[![CircleCI](https://circleci.com/gh/medayo/expo-cool-storybook.svg?style=svg)](https://circleci.com/gh/medayo/expo-cool-storybook)

# Expo Cool Storybook (WIP)

Visual Regression Testing for Expo projects. Click watch ;-). Will be updated soon.

## Whats the problem

Have you ever used Storybook? It's fantastic, however, it is not the best with React Native. Loki is a tool that will work with Storybook to navigate through your components and take a screenshot of the component (that is on screen).

Few of issues:

- CI is not scalable with this approach.
- Expo has a very nice splash screen in which CI can't tap/click on the wizard. *:-( Sadtimes*
- It's very slow to spin up indivial phones and visual regression all of them.
- It's hard to setup everything unless you know what you are doing

Don't worry thought Expo "Cool Storybook" is here to npm your way into your project!

Install: 

> npm install @medayo/expo-cool-storybook

Please have a look in the [example](https://github.com/medayo/expo-cool-storybook/tree/master/example) folder for usage.
npm package: @medbanks-org/react-native-template-wukong
Description: ## 集成工具
Author: justxxx
Latest version: 0.0.8

# react-native-template-wukong

## 集成工具

1. react-navigation - 导航库
2. ESLint - 代码风格统一，目前配置的Airbnb的设置
3. 路径导入 - 目前集成了 babel-plugin-module-resolver 和 babel-plugin-root-import 派专家患者端用的前者，模板目前使用的是后者，这两个babel解析插件都可以解决../../aaa 这种问题。
4. EditorConfig - 解决不同编辑器格式不一致问题
5. 一些工具库的集成，eg: lodash, moment
npm package: @medbenmakhlouf/ngx-translate-extract-marker
Description: Function, pipe and directive to manually mark strings to be extracted using ngx-translate-extract
Author: Mohamed Ben Makhlouf
Latest version: 17.0.0

## Mark strings for extraction using a marker function
If, for some reason, you want to extract strings not passed directly to `TranslateService`'s `get()` or `instant()` methods, you can wrap them in a custom marker function to let `ngx-translate-extract` know you want to extract them.

Install marker function:
`npm install @medbenmakhlouf/ngx-translate-extract-marker`

```ts
import { marker } from '@medbenmakhlouf/ngx-translate-extract-marker';

marker('Extract me');
```

Add the `marker` argument when running the extract script:

`ngx-translate-extract ... --marker marker`

You can alias the marker function if needed:

```ts
import { marker as _ } from '@medbenmakhlouf/ngx-translate-extract-marker';

_('Extract me');
```

`ngx-translate-extract ... --marker _`
npm package: @meddv/ngx-mqtt
Description: This library isn't just a wrapper around MQTT.js for angular. It uses observables and takes care of subscription handling and message routing.
Author: sclausen
Latest version: 18.0.2

# ngx-mqtt [![npm](https://img.shields.io/npm/v/ngx-mqtt.svg)](https://www.npmjs.com/package/ngx-mqtt) [![Travis](https://img.shields.io/travis/sclausen/ngx-mqtt.svg)](https://travis-ci.org/sclausen/ngx-mqtt)

This library isn't just a wrapper around MQTT.js for angular.
It uses observables and takes care of subscription handling and message routing.

Since it's based on the browserified version of mqtt.js, this means although you have the possibility to use `mqtt`, `mqtts`, `tcp`, `ssl`, `wx` or `wxs` as the protocol in the client options, you can't use it, because this is a browser library where you can't conntect with mqtt directly via tcp, but with websockets. You also can't use `key`, `cert` and `ca` for the same reasons.

If you have any issues using this library, please visit it's [homepage](https://sclausen.github.io/ngx-mqtt/) and look for similar issues in the issue tracker before you file a bug.

## Local development
For local development all peer dependency automatically installed during install.
npm package: @medea/gaptain-kids-centric
Description: Medea Templates :: Gaptain Kids Centric Template
Author: Nul Pàs
Latest version: 5.2.0

# Medea Template System
Gaptain Kids Centric Template.

## Installation
```
npm install @medea/gaptain-kids-centric
```
or
```
yarn add @medea/gaptain-kids-centric
```

Todo...