open-index/open-npm huggingface dataset:
npm package: @finalspark-np/livemea_ts
Description: A minimal TypeScript library that provides an interface to handle live MEA data
Author: Maiden Labs
Latest version: 1.1.3

# LiveMEA_ts

This is a minimal TypeScript library that provides an interface to handle live MEA data from FinalSpark.

## Authors: Maiden Labs [[github](https://github.com/maidenlabs)]

Maiden Labs is a non profit user research lab committed to open-source scientific discovery through biocomputing. Utilizing decentralized technologies, we improve access to biocomputing research, advancing interdisciplinary AI and biocomputing related efforts for greater scientific impact and innovation.

## Installation

You can install the library using npm:

```bash
npm i @finalspark-np/livemea_ts
```

## Usage

To use the library, import the `LiveMEA` class from the library:

```typescript
import { LiveMEA } from '@finalspark-np/livemea_ts';

// Create instance
const liveMEA = new LiveMEA();

// Record a single sample of MEA 1
liveMEA.recordSample(1)
  .then((data) => {
    console.log(data); // Contains timestamp and 32x4096 electrode data array
  });

// Record multiple samples of MEA 1
liveMEA.recordNSamples(1, 10)
  .then((samples) => {
    console.log(samples); // Array of samples, each with timestamp and electrode data
  });
```

## API

### `LiveMEA`

The main class for interacting with live MEA data from the FinalSpark service.

#### Methods

##### `recordSample(meaId?: number): Promise<LiveData>`

Records a single sample of live MEA data.

- `meaId` (optional): The MEA ID to use (1-4). Defaults to 1.
- Returns: Promise resolving to `LiveData` containing:
  - `timestamp`: Date object when the sample was recorded
  - `data`: 32x4096 array where each row represents one electrode's samples

##### `recordNSamples(meaId?: number, n?: number): Promise<LiveData[]>`

Records multiple samples of live MEA data.

- `meaId` (optional): The MEA ID to use (1-4). Defaults to 1.
- `n` (optional): Number of samples to record. Defaults to 10.
- Returns: Promise resolving to array of `LiveData` objects

#### Types

```typescript
interface LiveData {
    timestamp: Date;
    data: number[][];  // 32x4096 array
}
```

#### Error Handling

The methods will throw errors in these cases:
- Invalid MEA ID (must be 1-4)
- Connection failures
- Server timeout


## License

This project is licensed under the MIT License.
npm package: @finalx/common
Description: <h1 align="center">FinalX</h1> <p align="center">基于Taro、React打造的一款跨端开发的工具及组件库</p>
Latest version: 1.4.8

<h1 align="center">FinalX</h1>
<p align="center">基于Taro、React打造的一款跨端开发的工具及组件库</p>

## 使用 （[详细文档](https://finalx.vercel.app)）

### Installation 安装

#### npm

```shell
npm install @finalx/cli -g
```

### Init 生成项目结构

```shell
finalx init <projectName>
```

## 更新计划（FinalX V2.x）

### 更新说明

#### 此次 V2.x 会尽量向下兼容的进行更新，尽量做到开箱即用，提升更高的易用性，可靠性。

### 更新内容

- 脚手架更新

  - 新增 - 支持生成基础页面文件
  - 新增 - 支持初始化模版选择
  - 模版 - 更新模版可用性及多模版

- 组件

  - 新增 - 微型分页器组件
  - 新增 - 日历组件
  - 新增 - 跑马灯组件
  - 新增 - 标签组件
  - 新增 - 时间轴组件
  - 新增 - 进度条组件
  - 新增 - toast 组件
  - 优化 - Modal 组件
  - 优化 - Dialog 组件
  - 优化 - Loading 组件

- 中间件

  - 新增 - 角色鉴权中间件

- 工具及其他

  - 优化 - 统一配置文件，用户无需手动引入，finalx 自动约定引入
  - 新增 - 若干工具函数
  - 新增 - 若干工具 hooks

### 周期

#### 预计 2025 年完成 - 2026 年完成 （工作太忙，目前佛系开发中！）
npm package: @finalyst/runtime-client-gql
Description: <img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />
Latest version: 1.13.0

# CopilotKit - Runtime Client GQL

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

<br>
<div align="center" style="display:flex;justify-content:center;gap:16px;height:20px;margin: 0;">
  <a href="https://www.npmjs.com/package/@finalyst/react-core" target="_blank">
    <img src="https://img.shields.io/npm/v/%40copilotkit%2Fruntime-client-gql?logo=npm&logoColor=%23FFFFFF&label=Version&color=%236963ff" alt="NPM">
  </a>
  <a href="https://github.com/copilotkit/copilotkit/blob/main/LICENSE" target="_blank">
    <img src="https://img.shields.io/github/license/copilotkit/copilotkit?color=%236963ff&label=License" alt="MIT">
  </a>
  <a href="https://discord.gg/6dffbvGU3D" target="_blank">
    <img src="https://img.shields.io/discord/1122926057641742418?logo=discord&logoColor=%23FFFFFF&label=Discord&color=%236963ff" alt="Discord">
  </a>
</div>
<br/>
<div align="center">
  <a href="https://www.producthunt.com/posts/copilotkit" target="_blank">
    <img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=428778&theme=light&period=daily">
  </a>
</div>

## ✨ Why CopilotKit?

- Minutes to integrate - Get started quickly with our CLI
- Framework agnostic - Works with React, Next.js, AGUI and more
- Production-ready UI - Use customizable components or build with headless UI
- Built-in security - Prompt injection protection
- Open source - Full transparency and community-driven

<img src="https://github.com/user-attachments/assets/6cb425f8-ffcb-49d2-9bbb-87cab5995b78" alt="class-support-ecosystem" style="border-radius: 12px; border: 2px solid #d6d4fa;">

## 🧑‍💻 Real life use cases

<span>Deploy deeply-integrated AI assistants & agents that work alongside your users inside your applications.</span>

<img src="https://github.com/user-attachments/assets/3b810240-e9f8-43ae-acec-31a58095e223" alt="headless-ui" style="border-radius: 12px; border: 2px solid #d6d4fa;">

## 🏆 Featured Examples

<p align="center">
  <a href="https://www.copilotkit.ai/examples/form-filling-copilot">
    <img src="https://github.com/user-attachments/assets/874da84a-67ff-47fa-a6b4-cbc3c65eb704" width="300" style="border-radius: 16px;" />
  </a>
  <a href="https://www.copilotkit.ai/examples/state-machine-copilot">
    <img src="https://github.com/user-attachments/assets/0b5e45b3-2704-4678-82dc-2f3e1c58e2dd" width="300" style="border-radius: 16px;" />
  </a>
  <a href="https://www.copilotkit.ai/examples/chat-with-your-data">
    <img src="https://github.com/user-attachments/assets/0fed66be-a4c2-4093-8eab-75c0b27a62f6" width="300" style="border-radius: 16px;" />
  </a>
</p>

## Documentation

To get started with CopilotKit, please check out the [documentation](https://docs.copilotkit.ai).
npm package: @finalyst/sdk-js
Latest version: 1.13.0

# CopilotKit - SDK JS


<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

<br>
<div align="center" style="display:flex;justify-content:center;gap:16px;height:20px;margin: 0;">
  <a href="https://www.npmjs.com/package/@finalyst/react-core" target="_blank">
    <img src="https://img.shields.io/npm/v/%40copilotkit%2Fsdk-js?logo=npm&logoColor=%23FFFFFF&label=Version&color=%236963ff" alt="NPM">
  </a>
  <a href="https://github.com/copilotkit/copilotkit/blob/main/LICENSE" target="_blank">
    <img src="https://img.shields.io/github/license/copilotkit/copilotkit?color=%236963ff&label=License" alt="MIT">
  </a>
  <a href="https://discord.gg/6dffbvGU3D" target="_blank">
    <img src="https://img.shields.io/discord/1122926057641742418?logo=discord&logoColor=%23FFFFFF&label=Discord&color=%236963ff" alt="Discord">
  </a>
</div>
<br/>
<div align="center">
  <a href="https://www.producthunt.com/posts/copilotkit" target="_blank">
    <img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=428778&theme=light&period=daily">
  </a>
</div>

## ✨ Why CopilotKit?

- Minutes to integrate - Get started quickly with our CLI
- Framework agnostic - Works with React, Next.js, AGUI and more
- Production-ready UI - Use customizable components or build with headless UI
- Built-in security - Prompt injection protection
- Open source - Full transparency and community-driven

<img src="https://github.com/user-attachments/assets/6cb425f8-ffcb-49d2-9bbb-87cab5995b78" alt="class-support-ecosystem" style="border-radius: 12px; border: 2px solid #d6d4fa;">

## 🧑‍💻 Real life use cases

<span>Deploy deeply-integrated AI assistants & agents that work alongside your users inside your applications.</span>

<img src="https://github.com/user-attachments/assets/3b810240-e9f8-43ae-acec-31a58095e223" alt="headless-ui" style="border-radius: 12px; border: 2px solid #d6d4fa;">

## 🏆 Featured Examples

<p align="center">
  <a href="https://www.copilotkit.ai/examples/form-filling-copilot">
    <img src="https://github.com/user-attachments/assets/874da84a-67ff-47fa-a6b4-cbc3c65eb704" width="300" style="border-radius: 16px;" />
  </a>
  <a href="https://www.copilotkit.ai/examples/state-machine-copilot">
    <img src="https://github.com/user-attachments/assets/0b5e45b3-2704-4678-82dc-2f3e1c58e2dd" width="300" style="border-radius: 16px;" />
  </a>
  <a href="https://www.copilotkit.ai/examples/chat-with-your-data">
    <img src="https://github.com/user-attachments/assets/0fed66be-a4c2-4093-8eab-75c0b27a62f6" width="300" style="border-radius: 16px;" />
  </a>
</p>

## Documentation

To get started with CopilotKit, please check out the [documentation](https://docs.copilotkit.ai).