open-index/open-npm huggingface dataset:
npm package: @mfoulks3200/react-timeline-editor
Description: [![npm version](https://img.shields.io/npm/v/@xzdarcy/react-timeline-editor.svg?style=flat-square)](https://www.npmjs.com/package/@xzdarcy/react-timeline-editor) [![npm downloads](https://img.shields.io/npm/dm/@xzdarcy/react-timeline-editor.svg?style=flat
Author: Atlas Foulks
Latest version: 0.1.9

# React Timeline Editor
[![npm version](https://img.shields.io/npm/v/@xzdarcy/react-timeline-editor.svg?style=flat-square)](https://www.npmjs.com/package/@xzdarcy/react-timeline-editor)
[![npm downloads](https://img.shields.io/npm/dm/@xzdarcy/react-timeline-editor.svg?style=flat-square)](https://www.npmjs.com/package/@xzdarcy/react-timeline-editor)

**[React Timeline Editor](https://zdarcy.com/)** is a react component used to quickly build a timeline animation editor.

![example](https://github.com/xzdarcy/react-timeline-editor/blob/f79d85eee8a723e5210c04232daf2c51888418c0/public/assets/timeline.gif)
## Getting Started

```bash
npm install @xzdarcy/react-timeline-editor
```

```ts
import { Timeline, TimelineEffect, TimelineRow } from '@xzdarcy/react-timeline-editor';
import React from 'react';

const mockData: TimelineRow[] = [{
    id: "0",
    actions: [
      {
        id: "action00",
        start: 0,
        end: 2,
        effectId: "effect0",
      },
    ],
  },
  {
    id: "1",
    actions: [
      {
        id: "action10",
        start: 1.5,
        end: 5,
        effectId: "effect1",
      }
    ],
}]

const mockEffect: Record<string, TimelineEffect> = {
  effect0: {
    id: "effect0",
    name: "效果0",
  },
  effect1: {
    id: "effect1",
    name: "效果1",
  },
};

const TimelineEditor = () => {
  return (
      <Timeline
        editorData={mockData}
        effects={mockEffect}
      />
  );
};
```

## Documention
Checkout the [Docs](https://zdarcy.com/) for a demonstration of some basic and advanced features.
npm package: @mframework/adapter-magento
Description: A magento adapter for Meeovi SDK
Author: M Framework
Latest version: 0.0.1

# @mframework/adapter-magento

A Magento adapter for Meeovi SDK. This package provides:

- a lightweight HTTP transport factory with timeouts and retries (`createStarterTransport`)
- a GraphQL client factory for Magento (`createMagentoClient`)
- starter `Auth` and `Commerce` adapter factories that call an HTTP transport

Configuration

`createStarterTransport` accepts an options object:

- `baseUrl` (string) - base URL for HTTP requests
- `apiKey` (string, optional) - sets an Authorization Bearer header
- `fetchImpl` (optional) - custom fetch implementation for Node runtimes
- `timeoutMs` (optional) - request timeout in milliseconds
- `retries` (optional) - number of retry attempts for transient errors (default 1)
- `retryDelayMs` (optional) - delay between retries in milliseconds (default 250)

`createMagentoClient` options:

- `endpoint` (string) - GraphQL endpoint
- `accessToken` (string, optional) - bearer token for Magento
- `timeoutMs` (number, optional) - request timeout for GraphQL fetch
- `fetchImpl` (optional) - custom fetch implementation for Node

Example

```ts
import { createStarterTransport } from '@mframework/adapter-magento/src/transport'
import { createStarterCommerceAdapter } from '@mframework/adapter-magento/src/commerce'

const transport = createStarterTransport({ baseUrl: 'https://api.my-magento.com', timeoutMs: 5000, retries: 2 })
const commerce = createStarterCommerceAdapter(transport)
```

For GraphQL usage (search adapter):

```ts
import { createMagentoClient } from '@mframework/adapter-magento/src/client'
const sdk = createMagentoClient({ endpoint: 'https://api.my-magento.com/graphql', accessToken: process.env.MAGENTO_TOKEN, timeoutMs: 5000 })
// use sdk.GetProducts(...) etc.
```

Notes

- This package intentionally keeps adapter implementations small; production deployments should provide secure token management and error monitoring at the application level.
- If you run on Node <18, provide a `fetchImpl` such as `node-fetch`.
npm package: @mframework/adapter-opensearch
Description: Official M Framework Opensearch adapter providing connectivity to opensearch.
Author: M Framework
Latest version: 0.0.2

# adapter-opensearch

OpenSearch adapter package that provides two integration styles:

- `createOpenSearchAdapter(opts)` — a server-side, direct OpenSearch client adapter implementing the core `SearchAdapter` interface.
- `createStarterSearchAdapter(transport)` — a starter-style adapter that adapts a `TransportAdapter` (for registering via the starter-adapter pattern).

Usage (direct registration):

```ts
import { createOpenSearchAdapter } from 'adapter-opensearch'
import searchModule from '@mframework/search'

const myProviderModule = {
  id: 'search-provider-opensearch',
  adapters: {
    search: createOpenSearchAdapter({ id: 'opensearch', index: 'products' })
  }
}

const app = createM FrameworkApp({ modules: [searchModule, myProviderModule] })
await app.start()
```

Usage (starter/transport registration):

```ts
import { createStarterSearchAdapter } from 'adapter-opensearch'
import { createStarterTransport } from '@mframework/starter-adapter'

const transport = createStarterTransport({ baseUrl: 'https://api.myapp.com' })
const adapter = createStarterSearchAdapter(transport)

// register into core module registry
app.context.modules.registerAdapter('search', adapter)
```

Notes:

- `createOpenSearchAdapter` uses the OpenSearch JS client and reads `OPENSEARCH_*` env vars as defaults. You can override `index` via options.
- `createStarterSearchAdapter` lets you plug the adapter into environments that use a `TransportAdapter` (e.g., serverless functions or a separate API layer).
npm package: @mframework/api
Description: Robust API module serving as a wrapper around Prisma for the M Framework.
Author: M Framework
Latest version: 0.0.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.


---

# 📦 `@mframework/api` — README.md

```md
# @mframework/api

A dynamic, backend‑agnostic API SDK for Meeovi.  
Supports GraphQL, REST, RPC, and custom transports via a pluggable fetcher system.

## ✨ Features

- Dynamic fetcher architecture  
- GraphQL + REST loaders (auto‑import queries/mutations/endpoints)  
- Namespaced operation registry  
- Runtime‑switchable transports  
- Nuxt module for auto‑initialization  
- Provider integration for other Meeovi modules  
- Integrated Prisma support
- Integrated Postgres support via Pg npm module

## 📦 Installation

```sh
npm install @mframework/api
# @mframework/api

A self-contained API package for Meeovi. It exports a runtime `prisma` helper and utility functions (see `src/utils/prisma`).

Quick notes
- This package ships a Prisma schema at `packages/modules/api/prisma/schema.prisma` and a generated client under `packages/modules/api/prisma/generated/prisma`.
- The package exports `prisma` from `src/utils/prisma` — you can import it as:

```ts
import { prisma } from '@mframework/api'
```

Run Prisma from the repository root (recommended)
- Use the workspace helper so Prisma uses the root `.env` (app DATABASE_URL) and the package schema:

```bash
npm run prisma:api -- generate      # generate client for the API package
npm run prisma:api -- db pull       # introspect DB using root .env
npm run prisma:api -- migrate dev   # run migrations against DB
```

What the helper does
- Loads `.env` from the repo root into `process.env` (so `DATABASE_URL` from your application is used).
- Runs `prisma` CLI with `--schema=packages/modules/api/prisma/schema.prisma` for schema-aware commands.

If you prefer to run Prisma directly inside the package, from the API package root:

```bash
cd packages/modules/api
npx prisma generate --schema=prisma/schema.prisma
```

TypeScript
- The package exposes types for its Prisma client; from the main app you can import `prisma` and use it with full typing once the generated client exists.

Internal exports
- Utilities: `src/utils/prisma` (exports `prisma`, `useDB`, `isValidTable`)

If you need the repo to run without installing workspace packages, a lightweight shim was previously used for local typechecks — that's now removed in favor of the real generated client and workspace package layout.
npm package: @mfsoftworks/nestjs-ipfs
Description: A module for utilizing IPFS p2p filesystem with NestJS
Author: MF Softworks
Latest version: 1.0.2

<p align="center">
  <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /></a>
</p>

<h3 align="center">A Module for Utilizing IPFS P2P File System with NestJS</h3>

<div align="center">
  <img src="https://img.shields.io/badge/license-MIT-brightgreen.svg" alt="License" />
  <a href="https://github.com/mfsoftworks/nestjs-ipfs"><img src="https://badge.fury.io/js/@mfsoftworks%2Fnestjs-ipfs.svg" alt="npm version" height="18"></a>
  <a href="https://nestjs.com/"><img src="https://img.shields.io/badge/built%20with-NestJs-red.svg" alt="Built with NestJS"></a>
  <a href="https://paypal.me/nygmarose"><img src="https://img.shields.io/badge/Donate-PayPal-dc3d53.svg"/></a>
</div>

## Description

[IPFS](https://github.com/ipfs/js-ipfs) implementation module for [NestJS](https://github.com/nestjs/nest)

## Installation

```bash
npm i @mfsoftworks/nestjs-ipfs
```

## Quick Start

Import the IPFS module

```typescript
import { IpfsModule } from '@mfsoftworks/nestjs-ipfs';
```

IPFS module supports registering using defaults, or a static object

```typescript
@Module({
  imports: [IpfsModule.register()],
  providers: [AppService],
})
export class AppModule {}
```

IPFS module supports async registration with `useClass`, `useExisting`, including a `createIPFSOptions` function; or a custom `useFactory`

```typescript
@Module({
  imports: [IpfsModule.registerAsync({
    useClass: ConfigService
  })],
  providers: [AppService],
})
export class AppModule {}
```

## Wait for Node

IPFS module supports immediate start by default, as well as an optional `waitForNode` passed as a second parameter to wait for IPFS node initialisation before bootstrap proceeds.

```typescript
@Module({
  imports: [IpfsModule.register({}, true)],
  providers: [AppService],
})
export class AppModule {}
```

## Usage

`getNode()` - Call `getNode` to return the IPFS node. If it's been called previously, or `waitForNode` is true it will return the cached IPFS node object.

Currently this module is a basic Nest implementation of [js-ipfs](https://github.com/ipfs/js-ipfs), any use of the node will need to be done by your business code.

Future usage can be [suggested](http://github.com/mfsoftworks/nestjs-ipfs/issues) or contribute your own pull request to extend the functionality of this module further.

## Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).

## Stay in touch

- Author - [MF Softworks](https://github.com/mfsoftworks)
- Twitter - [@mfsoftworks](https://twitter.com/mfsoftworks)

## License

@mfsoftworks/nestjs-ipfs is [MIT licensed](LICENSE).
npm package: @mfuns/class-validator
Author: Amoyensis
Latest version: 0.0.3

# @mfuns/class-validator


```typescript
class Test {
  @Property({
    required: true,
    type: 'string',
    minLength: 0,
    maxLength: 10,
    enum: ['abcd'],
    pattern: /^abcd$/
  })
  a: string
}
```
npm package: @mfyuu/biome-config
Description: Shareable Biome configuration for JavaScript/TypeScript projects
Author: mfyuu
Latest version: 1.4.1

# @mfyuu/biome-config

English | [Japanese](./README.ja.md)

Shareable Biome configuration package for JavaScript/TypeScript projects by [@mfyuu](https://github.com/mfyuu).

Choose from three configurations based on your project type: base, React, or Next.js.

## Usage

### Starter Wizard (Recommended)

The easiest way to set up Biome in your project is using our interactive CLI wizard:

```bash
npx @mfyuu/biome-config
```

This command will:

- Detect your project type (base, React, or Next.js)
- Install required dependencies (`@biomejs/biome` and `@mfyuu/biome-config`)
- Create `biome.json` or `biome.jsonc` with the appropriate configuration
- Add Biome scripts to your `package.json` (`format`, `lint`, `lint-fix`, `check`)
- Set up VS Code integration with `.vscode/settings.json`
  - Choose between Biome-only formatting or Biome with Prettier for Markdown files
- Optionally integrate Lefthook for Git hooks automation
  - Installs `lefthook` dependency
  - Creates lefthook configuration file
  - Adds `prepare` script for automatic Git hooks installation

For all available options:

```bash
npx @mfyuu/biome-config --help
```

### Manual Setup

If you prefer to set up manually:

1. Install the required packages:

```bash
npm i -D @biomejs/biome @mfyuu/biome-config
```

2. Create `biome.json` or `biome.jsonc` in your project root:

#### Base Configuration (Node.js/TypeScript Projects)

```json
{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@mfyuu/biome-config/base"]
}
```

#### React Configuration

```json
{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@mfyuu/biome-config/react"]
}
```

#### Next.js Configuration

```json
{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@mfyuu/biome-config/next"]
}
```

> [!note]
> If you have problems with resolving the physical file, you can use the one published on this site:
>
> ```json
> "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json"
> ```

## Configuration Contents

### base

- Basic formatting settings (indentation, line breaks, etc.)
- Common TypeScript/JavaScript lint rules
- General best practices

### react

- Inherits all settings from base
- React/JSX specific rules
- Hooks-related rules
- Accessibility rules

### next

- Inherits all settings from react
- Next.js specific file pattern exclusions
- Support for both App Router and Pages Router

## Customization

You can override inherited settings by adding custom configuration in your `biome.json` or `biome.jsonc`:

```json
{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@mfyuu/biome-config/base"],
  "formatter": {
    "indentStyle": "space"
  }
}
```

## License

[MIT](./LICENSE) License © 2025-PRESENT [Kazuya Suzuki](https://github.com/mfyuu)
npm package: @mfyuu/utils
Description: Opinionated collection of common JavaScript / TypeScript utils by @mfyuu
Author: mfyuu
Latest version: 0.2.0

# @mfyuu/utils

Opinionated collection of common JavaScript / TypeScript utils by [@mfyuu](https://github.com/mfyuu).

## Installation

```bash
npm i @mfyuu/utils
```

## Credits

Inspired by [@antfu/utils](https://github.com/antfu/utils)

## License

[MIT](./LICENSE) License © 2025-PRESENT [Kazuya Suzuki](https://github.com/mfyuu)