open-index/open-npm huggingface dataset:
npm package: @maicol07/spraypaint
Description: Graphiti Client / Javascript ORM with sources embedded in sourcemaps
Author: Lee Richmond
Latest version: 0.10.22

# Spraypaint

JS Client for [Graphiti](https://graphiti-api.github.io/graphiti) similar to ActiveRecord.

Written in [Typescript](https://www.typescriptlang.org) but works in plain old ES5 as well. This library is isomorphic - use it from the browser, or from the server with NodeJS.

### Sample Usage

Please see [our documentation page](https://graphiti-api.github.io/graphiti/js) for full usage. Below is a Typescript sample:

```ts
import { SpraypaintBase, Model, Attr, HasMany } from "spraypaint"

@Model()
class ApplicationRecord extends SpraypaintBase {
  static baseUrl = "http://localhost:3000"
  static apiNamespace = "/api/v1"
}

@Model()
class Person extends ApplicationRecord {
  static jsonapiType = "people"

  @Attr() firstName: string
  @Attr() lastName: string

  @HasMany() pets: Pet[]

  get fullName() {
    return `${this.firstName} ${this.lastName}`
  }
}

@Model()
class Pet extends ApplicationRecord {
  static jsonapiType = "pets"

  @Attr() name: string
}

let { data } = await Person
  .where({ name: 'Joe' })
  .page(2).per(10)
  .sort('name')
  .includes("pets")
  .all()

let names = data.map((p) => { return p.fullName })
console.log(names) // ['Joe Blow', 'Joe DiMaggio', ...]

console.log(data[0].pets[0].name) // "Fido"
```
npm package: @maicon-vieira-dx/components
Description: My components
Latest version: 0.0.13

# Nuxt Vuetify Components Module

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

A Nuxt module that provides a set of reusable UI components built on top of [Vuetify](https://vuetifyjs.com/).  
Currently, the module includes **Card**, **Button**, and **Dialog** components, designed to speed up development and ensure consistent styling across your application.

- [✨ &nbsp;Release Notes](/CHANGELOG.md)
<!-- - [📖 &nbsp;Documentation](https://example.com) -->

## Features

- 🎴 **Card** — Flexible card component with slots for content, actions, and customization.
- 🔘 **Button** — Styled button with multiple variants and support for Vuetify props.
- 💬 **Dialog** — Easy-to-use modal dialog with full slot support.

## Quick Setup

Install the module into your Nuxt application with:

```bash
npx nuxi module add @maicon-vieira-dx/components
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/my-module

[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npm.chart.dev/my-module

[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
[license-href]: https://npmjs.com/package/my-module

[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @maiconleffa/date-range-picker
Description: A components to get a range between two dates using a simple and friendly ui
Author: Maicon Leffa
Latest version: 1.3.0

# DateRangePicker

DateRangePicker is a simple component to get a range of dates, it returns start date and end date.

![Captura de Tela 2024-03-13 às 21 17 08](https://github.com/MaiconLeffa/DateRangePicker/assets/41764184/84db1125-1a85-4c20-b4ef-1df0b93f42a1)

```jsx
import { DateRangePicker } from "@maiconleffa/date-range-picker";

export function Demo() {
  function handleChange(dateRange) {
    console.log(dateRange)
  }

  return (
    <div>
      <DateRangePicker onChange={handleChange} />
    </div>
  );
};
```

Props
| Prop | Default | Description | 
| :---: | :---: |  :---: |
| onChange | - | Event when apply button is pressed |
| disableFuture | false | If true user can not selected dates after today date |
| maxRange | 366 | The amount of days in between two dates that user can select |
| value | null | The current value of the component |
| waitForApply | true | If true onChange event is trigger only when apply button is pressed |
| applyButton | 'Apply' | Text inside apply button |
| cancelButton | 'Cancel' | Text inside cancel button |


onChange
{
  startAt: Date Object,
  endAt:  Date Object
}
npm package: @maiconleffa/toast
Description: A simple and light toast component
Author: Maicon Leffa
Latest version: 1.0.1

# Toast

Toast is a simple and light toast component, no need to add provider, just call the toast function and it will be shown.

![Captura de Tela 2024-03-16 às 15 06 35](https://github.com/MaiconLeffa/toast/assets/41764184/c7860c66-9571-4d41-93b1-add2ef5b264c)

```jsx
import { toast } from "@maiconleffa/toast";

export function Demo() {
  function success() {
    toast.success({
      content: <>I`m a success Toast</>
    });
  }

  function error() {
    toast.error({
      content: <>I`m a error Toast</>
    });
  }

  function warning() {
    toast.warning({
      content: <>I`m a warning Toast</>
    });
  }

  function custom() {
    toast.custom({
      content: <>I`m a custom Toast</>
    });
  }

  return (
    <div>
      <button onClick={success}>
        success
      </button>
      <button onClick={warning}>
        warning
      </button>
      <button onClick={error}>
        error
      </button>
      <button onClick={custom}>
        custom
      </button>
    </div>
  );
}
```

Toast options
| type | Description |
| :---: | :---: |
| success | A success toast will be shown in green theme |
| warning | A warning toast will be shown in yellow theme |
| error | A error toast will be shown in red theme |
| custom | Create your own toast component using same behavior |

Toast props
| prop | type | default | Description |
| :---: | :---: | :---: | :---: |
| content | ReactNode, string, HTMLElement | null | The toast content, can be a string or a React component |
| duration | number | 5000 | Duration to dismiss the toast in milisseconds |
| dismissible | boolean | true | Determines if toast can be closed before timer ends
npm package: @maidenlabs/biorand
Description: Publicly accessible, bologically derived randomness
Author: Maiden Labs
Latest version: 1.0.0

# @maidenlabs/biorand

Publicly accessible, biologically derived randomness.

## Installation

```sh
npm install @maidenlabs/biorand
```

## Usage
```javascript
import BioRNG from '@maidenlabs/biorand';

const rng = new BioRNG(100, 4);

await rng.rand();
await rng.randInt(1, 10);
```

## Use Cases
Numeric number generation is a critical component of most areas of computing. Sourcing true random data is a common area of weakness in the context of:

* Scientific Research: Generating random numbers for simulations or experiments that require biologically-derived randomness.
* Cryptography: Using biologically-derived randomness to enhance the security of cryptographic algorithms.
* Gaming: Creating more unpredictable and unique gaming experiences by using biological data for random events.
* Art and Music: Generating random patterns or sequences in art and music compositions based on biological data.

## License
Released under MIT License. See the LICENSE file for details.
npm package: @maidenlabs/finalspark-ts
Description: A minimal TypeScript library that provides an interface to handle live MEA data
Author: Maiden Labs
Latest version: 1.1.1

![NPM Version](https://img.shields.io/npm/v/%40maidenlabs%2Ffinalspark-ts)

# FinalSpark TS

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

## Installation

You can install the library using npm:

```bash
npm install @maidenlabs/finalspark-ts
```

## Usage

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

```typescript
import { LiveMEA } from '@maidenlabs/finalspark-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: @maidi/bi
Description: ``` yarn install ```
Author: xuqiang
Latest version: 0.2.14

# designer

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
=======
# iaos.bi.web
npm package: @maidi/common
Description: ## 使用前配置 1、ToastService >消息提示，使用DataService时需要对其进行配置，调用ToastService.config进行配置
Author: xuqiang
Latest version: 1.0.42

# 迈迪前端npm Common包
## 使用前配置
1、ToastService
>消息提示，使用DataService时需要对其进行配置，调用ToastService.config进行配置

2、UserService
>用户服务，使用DataService时需要对其进行配置，调用UserService.config进行配置，提供user和token的配置

3、HostService
>Host服务，配置通用的ApiHost地址，HostService.config进行配置，提供host的配置
## 组成
1、Components
Component | Prop
---|---
MdIcon|src（图片地址）、default（加载图片失败时显示的默认图片）
Compile|template（模板）、model（模板绑定的模型）
KeepAliveRouter|root（用于管理组件缓存的集合目录）
2、Interfaces
Interface| Desc
---|---
FEmptyParam|空参数方法
FStringParam|单字符串参数方法
IListener|事件注册或取消
4、Enum
Enum| Desc
---|---
Category|类目枚举
CategoryName|类目名称枚举
FileType|文件类型枚举

3、Services
Service| Desc
---|---
AsyncLoad|异步加载网络js、css资源
Base64|Base64、图片、Blob转换
CacheService|缓存服务
CryptoService|加密服务，提供MD5和Base64加密
DataService|数据访问服务，如果访问需要身份验证的接口地址，使用前需要对UserService进行配置
Events|事件中心
FileProperty|文件属性服务
GlobalEvent|全局事件注册
JsonService|Json数据处理
QueryString|url参数转换
MDRouter|MD路由，对VueRouter进行了缓存处理
KeepAlive|组件缓存管理
ResetService|重制服务，用于清除缓存等处理
ToastService|消息提示
TodoService|待办
TodoQueueService|待办队列
TransitionAnimation|转场动画
UserService|用户服务
UtilService|工具类，常用服务汇总
npm package: @maidi/designer
Description: ``` yarn install ```
Author: xuqiang
Latest version: 0.12.1

# designer

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
=======
# iaos.designer.web

仪表盘
npm package: @maidi/libs.pc
Description: ## 使用前配置 1、SelectorConfig >使用人员选择器时，需要调用SelectorConfig.config进行配置
Author: xuqiang
Latest version: 1.0.26

# 迈迪前端npm libs包
## 使用前配置
1、SelectorConfig
>使用人员选择器时，需要调用SelectorConfig.config进行配置

Property |Desc
--- | ---
contacts|根据联系人目录ID返回联系人列表（非今日制造）
contacts_search|根据关键字查询联系人（非今日制造）
contacts_dir|联系人目录（非今日制造）
user|根据组织ID返回用户列表（非今日制造）
user_search|根据关键字查询用户（非今日制造）
org|返回组织机构列表（非今日制造）

## 组成
1、Directives
Directive| Desc
---|---
resizeWidth|拖拽修改了宽度
2、Components
Component| Desc
---|---
DataGrid|数据表格
FormItem|表单项
Checkbox|复选框
CheckboxGroup|分组复选框
Radio|单选框
RadioGroup|分组单选框
Select|下拉菜单
Contacts|联系人
Modal|模式窗体
ModelSelector|实体选择器
TreeSelector|树选择器
UserSelector|用户选择器
Tree|树
3、Services
Service| Desc
---|---
Modal|弹出框
Message|消息提示服务
MessageBox|消息弹出框服务
Selector|选择器
npm package: @maidi/workflow
Description: 下载包后,运行npm run start查看example 2020.09.18 流程设计器跟流程实例拆成两个包
Author: xuqiang
Latest version: 1.0.1

# 前端npm Common包
下载包后,运行npm run start查看example
2020.09.18
流程设计器跟流程实例拆成两个包
npm package: @maiduote/moleculer-sentry
Description: Moleculer service for sentry error monitoring
Author: yhl
Latest version: 0.1.2

# moleculer-sentry

## How to use it

### install

`npm install @maiduote/moleculer-sentry`

### use

```javascript
const Sentry = require('@maiduote/moleculer-sentry')

module.exports = {
  mixins: [Sentry],
  settings: {
    /** @type {String} DSN given by sentry. */
    dsn: null,
    /** @type {Object} Additional options for `Sentry.init` */
    options: {}
  }
}
```