open-index/open-npm huggingface dataset:
npm package: @mmcodemark/peggy-loader
Description: Peggy loader for webpack
Author: Rocket.Chat
Latest version: 0.31.22

<!--header-->

<p align="center">
  <a href="https://rocket.chat" title="Rocket.Chat">
    <img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
  </a>
</p>

# `@mmcodemark/peggy-loader`

> Peggy loader for webpack

---

[![npm@latest](https://img.shields.io/npm/v/@mmcodemark/peggy-loader/latest?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/peggy-loader/v/latest) [![npm@next](https://img.shields.io/npm/v/@mmcodemark/peggy-loader/next?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/peggy-loader/v/next) ![npm downloads](https://img.shields.io/npm/dw/@mmcodemark/peggy-loader?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@mmcodemark/peggy-loader?style=flat-square)

![deps](https://img.shields.io/librariesio/release/npm/@mmcodemark/peggy-loader?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@mmcodemark/peggy-loader?style=flat-square)

<!--/header-->

## Install

<!--install-->

Firstly, install the peer dependencies (prerequisites):

```sh
npm i peggy webpack

# or, if you are using yarn:

yarn add peggy webpack
```

Add `@mmcodemark/peggy-loader` as a dependency:

```sh
npm i @mmcodemark/peggy-loader

# or, if you are using yarn:

yarn add @mmcodemark/peggy-loader
```

<!--/install-->

## Contributing

<!--contributing(msg)-->

Contributions, issues, and feature requests are welcome!<br />
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).

<!--/contributing(msg)-->

### Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

<!--yarn(build)-->

```sh
yarn build
```

<!--/yarn(build)-->

### Linting

To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
Before commiting, check if your code fits our style by running:

<!--yarn(lint)-->

```sh
yarn lint
```

<!--/yarn(lint)-->

Some linter warnings and errors can be automatically fixed:

<!--yarn(lint-and-fix)-->

```sh
yarn lint-and-fix
```

<!--/yarn(lint-and-fix)-->
npm package: @mmcodemark/prettier-config
Description: Prettier configuration for Rocket.Chat repositories
Author: Rocket.Chat
Latest version: 0.32.0

<!--header-->

<p align="center">
  <a href="https://rocket.chat" title="Rocket.Chat">
    <img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
  </a>
</p>

# `@mmcodemark/prettier-config`

> Prettier configuration for Rocket.Chat repositories

---

[![npm@latest](https://img.shields.io/npm/v/@mmcodemark/prettier-config/latest?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/prettier-config/v/latest) [![npm@next](https://img.shields.io/npm/v/@mmcodemark/prettier-config/next?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/prettier-config/v/next) ![npm downloads](https://img.shields.io/npm/dw/@mmcodemark/prettier-config?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@mmcodemark/prettier-config?style=flat-square)

![deps](https://img.shields.io/librariesio/release/npm/@mmcodemark/prettier-config?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@mmcodemark/prettier-config?style=flat-square)

<!--/header-->

## Install

<!--install(dev)-->

Firstly, install the peer dependencies (prerequisites):

```sh
npm i -D prettier

# or, if you are using yarn:

yarn add -D prettier
```

Add `@mmcodemark/prettier-config` as a dependency:

```sh
npm i -D @mmcodemark/prettier-config

# or, if you are using yarn:

yarn add -D @mmcodemark/prettier-config
```

<!--/install(dev)-->

## Contributing

<!--contributing(msg)-->

Contributions, issues, and feature requests are welcome!<br />
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).

<!--/contributing(msg)-->

### Linting

To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
Before commiting, check if your code fits our style by running:

<!--yarn(lint)-->

```sh
yarn lint
```

<!--/yarn(lint)-->

Some linter warnings and errors can be automatically fixed:

<!--yarn(lint-and-fix)-->

```sh
yarn lint-and-fix
```

<!--/yarn(lint-and-fix)-->
npm package: @mmcodemark/string-helpers
Description: Helper functions for string manipulation
Author: Rocket.Chat
Latest version: 0.31.22

<!--header-->

<p align="center">
  <a href="https://rocket.chat" title="Rocket.Chat">
    <img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
  </a>
</p>

# `@mmcodemark/string-helpers`

> Helper functions for string manipulation

---

[![npm@latest](https://img.shields.io/npm/v/@mmcodemark/string-helpers/latest?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/string-helpers/v/latest) [![npm@next](https://img.shields.io/npm/v/@mmcodemark/string-helpers/next?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/string-helpers/v/next) ![npm downloads](https://img.shields.io/npm/dw/@mmcodemark/string-helpers?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@mmcodemark/string-helpers?style=flat-square)

![deps](https://img.shields.io/librariesio/release/npm/@mmcodemark/string-helpers?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@mmcodemark/string-helpers?style=flat-square)

<!--/header-->

## Install

<!--install-->

Add `@mmcodemark/string-helpers` as a dependency:

```sh
npm i @mmcodemark/string-helpers

# or, if you are using yarn:

yarn add @mmcodemark/string-helpers
```

<!--/install-->

## Contributing

<!--contributing(msg)-->

Contributions, issues, and feature requests are welcome!<br />
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).

<!--/contributing(msg)-->

### Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

<!--yarn(build)-->

```sh
yarn build
```

<!--/yarn(build)-->

### Linting

To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
Before commiting, check if your code fits our style by running:

<!--yarn(lint)-->

```sh
yarn lint
```

<!--/yarn(lint)-->

Some linter warnings and errors can be automatically fixed:

<!--yarn(lint-and-fix)-->

```sh
yarn lint-and-fix
```

<!--/yarn(lint-and-fix)-->

### Running tests

Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:

<!--yarn(test)-->

```sh
yarn test
```

<!--/yarn(test)-->
npm package: @mmcodemark/styled
Description: A simple styled API for React components
Author: Rocket.Chat
Latest version: 0.31.22

<!--header-->

<p align="center">
  <a href="https://rocket.chat" title="Rocket.Chat">
    <img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
  </a>
</p>

# `@mmcodemark/styled`

> A simple styled API for React components

---

[![npm@latest](https://img.shields.io/npm/v/@mmcodemark/styled/latest?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/styled/v/latest) [![npm@next](https://img.shields.io/npm/v/@mmcodemark/styled/next?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/styled/v/next) ![npm downloads](https://img.shields.io/npm/dw/@mmcodemark/styled?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@mmcodemark/styled?style=flat-square)

![deps](https://img.shields.io/librariesio/release/npm/@mmcodemark/styled?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@mmcodemark/styled?style=flat-square)

<!--/header-->

## Install

<!--install-->

Add `@mmcodemark/styled` as a dependency:

```sh
npm i @mmcodemark/styled

# or, if you are using yarn:

yarn add @mmcodemark/styled
```

<!--/install-->

## Contributing

<!--contributing(msg)-->

Contributions, issues, and feature requests are welcome!<br />
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).

<!--/contributing(msg)-->

### Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

<!--yarn(build)-->

```sh
yarn build
```

<!--/yarn(build)-->

### Linting

To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
Before commiting, check if your code fits our style by running:

<!--yarn(lint)-->

```sh
yarn lint
```

<!--/yarn(lint)-->

Some linter warnings and errors can be automatically fixed:

<!--yarn(lint-and-fix)-->

```sh
yarn lint-and-fix
```

<!--/yarn(lint-and-fix)-->

### Running tests

Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:

<!--yarn(test)-->

```sh
yarn test
```

<!--/yarn(test)-->
npm package: @mmcodemark/stylis-logical-props-middleware
Description: Stylis middleware to handle CSS Logical Properties and their fallbacks
Author: Rocket.Chat
Latest version: 0.31.22

<!--header-->

<p align="center">
  <a href="https://rocket.chat" title="Rocket.Chat">
    <img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
  </a>
</p>

# `@mmcodemark/stylis-logical-props-middleware`

> Stylis middleware to handle CSS Logical Properties and their fallbacks

---

[![npm@latest](https://img.shields.io/npm/v/@mmcodemark/stylis-logical-props-middleware/latest?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/stylis-logical-props-middleware/v/latest) [![npm@next](https://img.shields.io/npm/v/@mmcodemark/stylis-logical-props-middleware/next?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/stylis-logical-props-middleware/v/next) ![npm downloads](https://img.shields.io/npm/dw/@mmcodemark/stylis-logical-props-middleware?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@mmcodemark/stylis-logical-props-middleware?style=flat-square)

![deps](https://img.shields.io/librariesio/release/npm/@mmcodemark/stylis-logical-props-middleware?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@mmcodemark/stylis-logical-props-middleware?style=flat-square)

<!--/header-->

## Install

<!--install-->

Firstly, install the peer dependencies (prerequisites):

```sh
npm i stylis

# or, if you are using yarn:

yarn add stylis
```

Add `@mmcodemark/stylis-logical-props-middleware` as a dependency:

```sh
npm i @mmcodemark/stylis-logical-props-middleware

# or, if you are using yarn:

yarn add @mmcodemark/stylis-logical-props-middleware
```

<!--/install-->

## Contributing

<!--contributing(msg)-->

Contributions, issues, and feature requests are welcome!<br />
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).

<!--/contributing(msg)-->

### Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

<!--yarn(build)-->

```sh
yarn build
```

<!--/yarn(build)-->

### Linting

To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
Before commiting, check if your code fits our style by running:

<!--yarn(lint)-->

```sh
yarn lint
```

<!--/yarn(lint)-->

Some linter warnings and errors can be automatically fixed:

<!--yarn(lint-and-fix)-->

```sh
yarn lint-and-fix
```

<!--/yarn(lint-and-fix)-->

### Running tests

Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:

<!--yarn(test)-->

```sh
yarn test
```

<!--/yarn(test)-->
npm package: @mmcodemark/tolki-fuselage
Description: All older fuselage packages here
Author: Tolki.Chat
Latest version: 0.31.30

<!--header-->

<p align="center">
  <a href="https://rocket.chat" title="Rocket.Chat">
    <img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
  </a>
</p>

# `@rocket.chat/tolki-fuselage`

> All fuselage here

---

[![npm@latest](https://img.shields.io/npm/v/@rocket.chat/tolki-fuselage/latest?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/tolki-fuselage/v/latest) [![npm@next](https://img.shields.io/npm/v/@rocket.chat/tolki-fuselage/next?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/tolki-fuselage/v/next) ![npm downloads](https://img.shields.io/npm/dw/@rocket.chat/tolki-fuselage?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@rocket.chat/tolki-fuselage?style=flat-square)

![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/tolki-fuselage?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@rocket.chat/tolki-fuselage?style=flat-square)

<!--/header-->

## Install

<!--install-->

Add `@rocket.chat/tolki-fuselage` as a dependency:

```sh
npm i @rocket.chat/tolki-fuselage

# or, if you are using yarn:

yarn add @rocket.chat/tolki-fuselage
```

<!--/install-->

## Contributing

<!--contributing(msg)-->

Contributions, issues, and feature requests are welcome!<br />
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).

<!--/contributing(msg)-->

### Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

<!--yarn(build)-->

```sh
yarn build
```

<!--/yarn(build)-->

### Linting

To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
Before commiting, check if your code fits our style by running:

<!--yarn(lint)-->

```sh
yarn lint
```

<!--/yarn(lint)-->

Some linter warnings and errors can be automatically fixed:

<!--yarn(lint-and-fix)-->

```sh
yarn lint-and-fix
```

<!--/yarn(lint-and-fix)-->

### Running tests

Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:

<!--yarn(test)-->

```sh
yarn test
```

<!--/yarn(test)-->
npm package: @mmcodemark/ui-kit
Description: Interactive UI elements for Rocket.Chat Apps
Author: Rocket.Chat
Latest version: 0.31.22

<!--header-->

<p align="center">
  <a href="https://rocket.chat" title="Rocket.Chat">
    <img src="https://github.com/RocketChat/Rocket.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png" alt="Rocket.Chat" />
  </a>
</p>

# `@mmcodemark/ui-kit`

> Interactive UI elements for Rocket.Chat Apps

---

[![npm@latest](https://img.shields.io/npm/v/@mmcodemark/ui-kit/latest?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/ui-kit/v/latest) [![npm@next](https://img.shields.io/npm/v/@mmcodemark/ui-kit/next?style=flat-square)](https://www.npmjs.com/package/@mmcodemark/ui-kit/v/next) ![npm downloads](https://img.shields.io/npm/dw/@mmcodemark/ui-kit?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@mmcodemark/ui-kit?style=flat-square)

![deps](https://img.shields.io/librariesio/release/npm/@mmcodemark/ui-kit?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@mmcodemark/ui-kit?style=flat-square)

<!--/header-->

## Install

<!--install-->

Add `@mmcodemark/ui-kit` as a dependency:

```sh
npm i @mmcodemark/ui-kit

# or, if you are using yarn:

yarn add @mmcodemark/ui-kit
```

<!--/install-->

## Contributing

<!--contributing(msg)-->

Contributions, issues, and feature requests are welcome!<br />
Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues).

<!--/contributing(msg)-->

### Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

<!--yarn(build)-->

```sh
yarn build
```

<!--/yarn(build)-->

### Linting

To ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).
Before commiting, check if your code fits our style by running:

<!--yarn(lint)-->

```sh
yarn lint
```

<!--/yarn(lint)-->

Some linter warnings and errors can be automatically fixed:

<!--yarn(lint-and-fix)-->

```sh
yarn lint-and-fix
```

<!--/yarn(lint-and-fix)-->

### Running tests

Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:

<!--yarn(test)-->

```sh
yarn test
```

<!--/yarn(test)-->
npm package: @mmcweb/mmc-ui-react
Description: mmcweb ui library for react
Author: chars
Latest version: 1.0.1

# mmc-ui-react

#### Description
mmc-ui-react

#### Software Architecture
Software architecture description

#### Installation

1.  xxxx
2.  xxxx
3.  xxxx

#### Instructions

1.  xxxx
2.  xxxx
3.  xxxx

#### Contribution

1.  Fork the repository
2.  Create Feat_xxx branch
3.  Commit your code
4.  Create Pull Request


#### Gitee Feature

1.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
3.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4.  The most valuable open source project [GVP](https://gitee.com/gvp)
5.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
npm package: @mmdapl/egg-axios
Description: Egg.js框架下axios使用的插件支持
Author: Rong姐姐好可爱
Latest version: 0.0.1

# egg-axios

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/egg-axios.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-axios
[travis-image]: https://img.shields.io/travis/eggjs/egg-axios.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-axios
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-axios.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-axios?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-axios.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-axios
[snyk-image]: https://snyk.io/test/npm/egg-axios/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-axios
[download-image]: https://img.shields.io/npm/dm/egg-axios.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-axios

<!--
Description here.
-->

## Install

```bash
$ npm i egg-axios --save
```

## Usage

```js
// {app_root}/config/plugin.js
exports.axios = {
  enable: true,
  package: 'egg-axios',
};
```

## Configuration

```js
// {app_root}/config/config.default.js
exports.axios = {
};
```

see [config/config.default.js](config/config.default.js) for more detail.

## Example

<!-- example here -->

## Questions & Suggestions

Please open an issue [here](https://github.com/eggjs/egg/issues).

## License

[MIT](LICENSE)
npm package: @mmds/core
Description: Shared MMDS normalization and traversal helpers for adapters
Latest version: 0.2.0

# @mmds/core

Shared MMDS types and normalization helpers used by adapter packages.

## Features

- MMDS defaults expansion for nodes and edges.
- Subgraph parent-chain and descendant traversal helpers.
- Endpoint intent helpers for `from_subgraph` / `to_subgraph` edge intent.

## Usage

```ts
import { normalizeMmds } from "@mmds/core";

const normalized = normalizeMmds(doc);
```
npm package: @mmds/excalidraw
Description: Convert MMDS JSON to Excalidraw format with polyline edge routing
Latest version: 0.1.0

# @mmds/excalidraw

Converts [MMDS](https://github.com/mmdflux/mmdflux/blob/main/docs/mmds.md) JSON (mmdflux's intermediate format) into Excalidraw `.excalidraw` files. Nodes become rectangles, diamonds, or ellipses; edges become polyline arrows with labels. Subgraph membership is preserved as Excalidraw groups.

## Install

```bash
npm install -g @mmds/excalidraw
```

Or use directly with npx (no install needed):

```bash
mmdflux --format mmds diagram.mmd | npx @mmds/excalidraw > out.excalidraw
```

## Usage

Pipe MMDS JSON from [mmdflux](https://github.com/mmdflux/mmdflux) into the adapter:

```bash
# Layout-level (straight center-to-center arrows)
mmdflux --format mmds diagram.mmd | npx mmds-to-excalidraw > out.excalidraw

# Routed-level (polyline edge paths from mmdflux's router)
mmdflux --format mmds --geometry-level routed diagram.mmd | npx mmds-to-excalidraw > out.excalidraw
```

### Options

| Flag | Short | Values | Default | Description |
|------|-------|--------|---------|-------------|
| `--output` | `-o` | `json`, `url` | `json` | Output format — Excalidraw JSON or a shareable excalidraw.com URL |
| `--open` | | | `false` | Upload and open the diagram in your browser |

```bash
# Get a shareable URL instead of JSON
mmdflux --format mmds --geometry-level routed diagram.mmd | npx mmds-to-excalidraw -o url

# Open directly in browser (also prints JSON to stdout)
mmdflux --format mmds --geometry-level routed diagram.mmd | npx mmds-to-excalidraw --open

# Open in browser, only print the URL
mmdflux --format mmds --geometry-level routed diagram.mmd | npx mmds-to-excalidraw -o url --open
```

Open the resulting `.excalidraw` file in [excalidraw.com](https://excalidraw.com) or the Excalidraw VS Code extension.

### Geometry levels

- **layout** (default) — node positions and sizes only; edges are drawn as straight lines between node centers.
- **routed** — includes full edge paths with waypoints, producing right-angle polyline arrows that match mmdflux's text output.

### Scale

Node and edge coordinates are scaled from dagre layout units to pixel space. The default scale factor is 3. Override it with the `SCALE` environment variable:

```bash
mmdflux --format mmds diagram.mmd | SCALE=5 npx mmds-to-excalidraw > out.excalidraw
```

## How it works

1. Reads MMDS JSON from stdin
2. Maps MMDS node shapes to Excalidraw types (rectangle, diamond, ellipse) with text-aware sizing
3. Converts edges to Excalidraw arrows, snapping endpoints to node boundaries
4. Computes viewport zoom/scroll to fit the diagram
5. Writes a complete `.excalidraw` JSON document to stdout (or uploads to excalidraw.com with `--output url` / `--open`)
npm package: @mmednik/streak-counter
Description: This is a basic streak counter - inspired by Duolingo - writter in TypeScript and meant for the browser (uses `localStorage`).
Author: mmednik
Latest version: 0.0.2

# `@mmednik/streak-counter` - a basic streak counter

This is a basic streak counter - inspired by Duolingo - writter in TypeScript and meant for the browser (uses `localStorage`).

## Install

```shell
yarn add @mmednik/streak-counter
```

or

```shell
npm install @mmednik/streak-counter
```

## Usage

[![Edit streak-counter (ts-course) (forked)](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/streak-counter-ts-course-forked-q12sf5?fontsize=14&hidenavigation=1&theme=dark)

```js
import { streakCounter } from '@mmednik/streak-counter'

const today = new Date()
const streak = streakCounter(localStorage, today)
```

`streak` returns an object:

```js
{
  currentCount: 1,
  lastLoginDate: "02/06/2023",
  startDate: "02/06/2023",
}
```
npm package: @mmedr25/expo-snapshot
Description: My new module
Author: eric mandong
Latest version: 0.1.0

# @mmedr25/expo-snapshot

A custom Expo module for capturing native snapshots on iOS and Android using the Expo Modules API.

---

## Features

- 📸 Capture native snapshots of screens or views  
- 🖼️ Supports `png` and `jpg` formats  
- ⚙️ Adjustable `quality` for JPG compression (`0` - `100`)
- 🔥 Returns **raw Base64 string** (no `data:image/...;base64,` prefix)  
- 🚀 Seamless integration with Expo & EAS Build  

---

## Installation

```bash
npm install @mmedr25/expo-snapshot
# or
yarn add @mmedr25/expo-snapshot
```

---

## Usage

```tsx
import React from 'react';
import { Button, View, Image } from 'react-native';
import * as Snapshot from '@mmedr25/expo-snapshot';

export default function App() {
  const [dataUri, setDataUri] = React.useState<string | null>(null);

  const takeSnapshot = async () => {
    try {
      const result = await Snapshot.captureScreen({
        format: 'jpg',   // 'png' or 'jpg'
        quality: 80,    // only for 'jpg'
      });

      // result.base64 is raw Base64 (no prefix)
      setDataUri(`data:image/jpg;base64,${result.base64}`);
    } catch (err) {
      console.error('Snapshot error:', err);
    }
  };

  return (
    <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
      <Button title="Take Snapshot" onPress={takeSnapshot} />
      {dataUri && (
        <Image
          source={{ uri: dataUri }}
          style={{ width: 200, height: 200, marginTop: 20 }}
        />
      )}
    </View>
  );
}
```
npm package: @mmerlange/longtaskn8nnode
Description: A custom node to manage durable functions with regular calls to check if function done
Author: Logiroad
Latest version: 1.0.0

# longtask_n8n_node

## Install and create js file

```bash
npm install
```

```bash
npx tsc
```

## Add to n8n

Use the Compiled JavaScript Files in n8n: After compilation, place the resulting JavaScript files (and any required assets) into proper n8n_worflow folder (see the github)
npm package: @mmeyer2k/aes256gcm
Description: Wrappers for AES256 GCM authenticated encryption functions. GCM is widely considered to be the most optimal choice for projects needing symmetric encryption.
Latest version: 0.0.0

# node-aes256gcm
Wrappers for AES256 GCM authenticated encryption functions.
GCM is widely considered to be the most optimal choice for projects needing symmetric encryption.

## Install
```bash
yarn add aes256gcm
```

## Usage
A trivial example of usage is shown below.
The resulting `encrypted` variable will be a buffer containing the encrypted message, IV and auth tag.

```javascript
const gcm = require('aes256gcm')

const key = "A".repeat(32) // please see "Keys" section

const encrypted = gcm.encrypt('my secret message', key)
```

## Encoding
Buffers are always returned by the encrypt/decrypt functions.
If special encoding is needed, use the `toString()` method.

```javascript
const encrypted = gcm.encrypt('my secret message', key).toString('base64')
```
Input data can either be provided as a string or as a buffer.
By default, strings will be treated as UTF-8.
```javascript
const decrypted = gcm.decrypt(Buffer.from(encrypted, 'base64'), key)
```

## Padding
GCM does not pad input data by default.
This can leak information about the size of plaintexts.
To pad input to block length, use the `padded` helper object:
```javascript
const encrypted = gcm.padded.encrypt('my secret message', key)

const decrypted = gcm.padded.decrypt(encrypted, key)
```

## Keys
Keys are required to be exactly 32 bytes.
The strength of this key determines the security of your data.
No key hardening is performed within this library.
Anything other than a completely random password will leave encrypted data in a vulnerable state.

Generate a new base64 encoded key the javascript way:

```javascript
const gcm = require('aes256gcm')

const crypto = require('crypto')

let key = crypto.randomBytes(32).toString('base64');

console.log(key)
```
Use the encoded key:
```javascript
const key = Buffer.from(key, 'base64')

const encrypted = gcm.encrypt('my secret message', key)
```
npm package: @mmg-dev/stencil-eslint-prettier-config
Description: Common ESLint and Prettier configuration for Stencil.js projects
Author: webpipeline
Latest version: 1.0.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @mmg-dev/stencil-eslint-prettier-config

> Gemeinsame ESLint- und Prettier-Konfiguration für Stencil.js-Projekte

## Installation

1. mit npm, pnpm installieren `npm install -g pnpm`
2. node_modules vom playground + jeweiliger WC löschen, wenn noch per npm installiert war
3. sauberes `pnpm i` im playground + in jeder WC

```bash
# Mit pnpm
pnpm add -D @mmg-dev/stencil-eslint-prettier-config
```

Erweitere die `package.json`:

```json
{
  "prettier": "@mmg-dev/stencil-eslint-prettier-config/prettier",
  "scripts": {
    "lint": "eslint 'src/**/*.{ts,tsx}'",
    "lint:fix": "eslint --fix 'src/**/*.{ts,tsx}'",
    "format": "prettier --write 'src/**/*.{ts,tsx,css,scss}'",
    "prepare": "husky"
  },
}
```
# Eslint (9.x)
Erstelle die Datei `eslint.config.mjs`:

```js
import sharedConfig from './node_modules/@mmg-dev/stencil-eslint-prettier-config/eslint.config.mjs';

const configWithFilesPattern = sharedConfig.map((config) => ({
  ...config,
  files: ['**/*.{ts,tsx}'],
}));

export default [
  ...configWithFilesPattern,
  {
    files: ['**/*.{ts,tsx}'],
    languageOptions: {
      parserOptions: {
        tsconfigRootDir: '.',
        project: './tsconfig.json',
      },
    },
  },
];

```


## VSCode-Einrichtung

**WICHTIG Windows-User:**
- `wsl`(Powershell)
- Per shell zum entsprechenden Repo wechseln (nicht ~/Username!)
z.B. 
`\home\USERNAME\Frontend\WebComponents\gbw-accordion`
- `code .` ausführen

**Installiere diese Extensions:**
- ESLint: `dbaeumer.vscode-eslint`
- Prettier: `esbenp.prettier-vscode`

Füge diese Einstellungen zu deiner `.vscode/settings.json` hinzu:

```json
{
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "eslint.validate": ["typescript", "typescriptreact"],
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}
```

## Lokale Entwicklung

In _npm-packages-Verzeichnis:
```bash
pnpm link --global
```
(Dann ist das Paket lokal verfügbar)

Im Stencil-Projekt (z.B. gbw-accordion):
```bash
pnpm link --global @mmg-dev/stencil-eslint-prettier-config
```

Verknüpfung in der package.json:
```bash
"@mmg-dev/stencil-eslint-prettier-config": "file:../_npm-packages/stencil-eslint-prettier-config",
```
npm package: @mmg-dev/webpipeline-biome-react
Description: Shared Biome configuration for Webpipeline React projects
Author: MMG Dev Team
Latest version: 1.0.4

# @mmg-dev/webpipeline-biome-react

Shared Biome configuration for MMG React projects.

## Installation

```bash
pnpm i --save-dev @biomejs/biome @mmg-dev/webpipeline-biome-react
```

## Usage

Create a `biome.json` in your project:

```json
{
  "$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
  "extends": ["@mmg-dev/webpipeline-biome-react"]
}
```

## Scripts

Add these scripts to your `package.json`:

```json
{
  "scripts": {
    "lint": "biome check src/",
    "lint:fix": "biome check --write src/",
    "format": "biome format --write src/"
  }
}
```

## VS Code Integration

Copy the `.vscode/settings.json` from this package to your project or add the following settings to your existing `.vscode/settings.json`:

Install biome extension for VS Code:
`Cmd+Shift+X` and search for `biome`.

```json
{
  "typescript.preferences.includePackageJsonAutoImports": "off",
  "editor.defaultFormatter": "biomejs.biome",
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "quickfix.biome": "explicit",
    "source.organizeImports.biome": "explicit"
  },
  "[typescript]": {
    "editor.defaultFormatter": "biomejs.biome"
  },
  "[javascript]": {
    "editor.defaultFormatter": "biomejs.biome"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "biomejs.biome"
  },
  "[javascriptreact]": {
    "editor.defaultFormatter": "biomejs.biome"
  }
}
```

## Features

- 🚀 Optimized for React/TypeScript projects
- 📝 Automatic code formatting
- 🔍 Comprehensive linting rules
- 🛠️ VS Code Integration
- 🔄 Automatic updates via npm

## License

MIT