open-index/open-npm huggingface dataset:
npm package: @flowdegree/arabic-strings
Description: A library for handling Arabic strings, including removing diacritics, normalizing characters, and more.
Author: Mohannad F. Otaibi
Latest version: 2.0.0

# Arabic Strings

A library for handling Arabic strings, including removing diacritics, normalizing characters, and more.

## Installation

```bash
npm install @flowdegree/arabic-strings
```

## Usage

### Importing the Library

```js
import * as arabicStrings from '@flowdegree/arabic-strings';
```

## Removing Diacritics (Harakat)

```js
// Define a string with Arabic diacritics (Harakat)
const str = 'مَرحبًا';

// Use the removeHarakat method to remove the diacritics from the string
const result = arabicStrings.removeHarakat(str);

// Output the result without diacritics
console.log(result); // Outputs: مرحبا
```

### How much of the string is Arabic

The percentage of Arabic letters in the `String`.

```js
arabicString.howArabic('foobar');
//=> 0.0

arabicString.howArabic('فوو bar');
//=> 0.5

arabicString.howArabic('فوبار');
//=> 1.0
```

### String#howNotArabic()

The percentage of non-Arabic letters in the `String`.

```js
arabicString.howNotArabic('فوبار');
//=> 0.0

arabicString.howNotArabic('فوو bar');
//=> 0.5

arabicString.howNotArabic('foobar');
//=> 1.0
```

### String#isArabic(threshold)

Is the `String` Arabic, based on a given `threshold` between `0` and `1`. Defaults to `0.79`.

```js
arabicString.isArabic('فوو');

//=> true
arabicString.isArabic('فوو bar baz');
//=> false
```

### String#hasArabic()

Does the `String` have _any_ Arabic letter.

```js
arabicString.hasArabic('فوو bar');
//=> ture

arabicString.hasArabic('foo bar');
//=> false
```

### String#removeTashkel()

Will return the `String` without the diacritics.

```js
arabicString.removeTashkel('مٌحمْد');
//=> 'محمد'

arabicString.removeTashkel('وَتُرى الْكَوَاكِبِ فِي الْمَجَرَّةِ شَرَعَا*** مِثْلُ الظِّباءِ كوارعا فِي جَدْوَلِ');
//=> 'وترى الكواكب في المجرة شرعا *** مثل الظباء كوارعا في جدول'
```

### String#removeTatwel()

Will return the `String` without the diacritics.

```js
arabicString.removeTatwel('مــرحــبــا');
//=> 'مرحبا'
```

### String#sanitize()

Will return the `String` without the diacritics, and clean characters.

```js
arabicString.sanitize(`أَنا الَّذي نَظَرَ الأَعمى إِلى أَدَبي ... وَأَسمَـعَت كَلِماتي مَن بِهِ صَمَمُ
أَنـامُ مِلءَ جُفوني عَن شَوارِدِهــا ... وَيَسهَرُ الخَلقُ جَرّاها وَيَختَصِمُ
وَجـــاهِلٍ مَدَّهُ في جَهلِهِ ضَحِكي ... حَتّى أَتَتهُ يَدٌ فَرّاسَــــــةٌ وَفَـــــمُ
`);
/*=> `انا الذي نظر الاعمي الي ادبي ... واسمعت كلماتي من به صمم
انام ملء جفوني عن شواردها ... ويسهر الخلق جراها ويختصم
وجاهل مده في جهله ضحكي ... حتي اتته يد فراسه وفم
`
*/
```

## Credits

- Original script [https://github.com/ahmads/arabicString]
- Enhancements [https://github.com/ahmads/arabicString/pulls]
- sanitization [https://github.com/ielashi/arabic-nlp]

## License

(The MIT License)
npm package: @flowdegree/spit-it
Description: A command-line tool to extract and organize source code snippets from projects, enabling easy sharing and collaboration.
Author: Mohannad F. Otaibi
Latest version: 2.3.0

# SourceCodeSpitter

SourceCodeSpitter is a command-line tool that generates a single dump file containing all the source code files within a directory, excluding files specified in `.gitignore` and `.spitignore`. This tool is useful for quickly collecting source code snippets for sharing or documentation purposes.

![demonstration image](https://github.com/flowdegree/spit-it/blob/main/Demo.gif?raw=true)

## Features

- Recursively traverses the specified directory to collect all source code files.
- Ignores files and directories specified in `.gitignore` and `.spitignore`.
- Generates a single dump file with source code snippets in the order of traversal.
- Preserves the file structure by including file names and relative directory paths as comments before each snippet.

## Installation

```bash
npm install -g @flowdegree/spit-it
# or for local project only
npm install @flowdegree/spit-it
```

## Usage

```bash
spitit [options] [directory]
```

### Options

```bash
-c, --clear: Clear the console.
-i, --include <extensions>: Include only specific file types (comma-separated, e.g., .js,.css). Use this option to limit the extraction to certain file extensions.
-e, --exclude <extensions>: Exclude specific file types (comma-separated, e.g., .log,.txt). Use this option to exclude certain file extensions from the extraction.
```

Replace `[directory]` with the path to the directory you want to generate the source code dump for. If no directory is provided, it will default to the current working directory.

The tool will generate a `source_code_dump.txt` file in the same directory with all the source code snippets.

## Examples

### Generate a source code dump for the current working directory:

```bash
spitit .
```

### Generate a source code dump for a specific directory:

```bash
source-code-spitter /path/to/directory
```

### Extract only JavaScript and CSS files:

```bash
spitit --include .js,.css
```

### Extract all files except log and text files:

```bash
spitit --exclude .log,.txt
```

## Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request for any improvements or additional features you'd like to see.

## License

This project is licensed under the [MIT License](MIT).
npm package: @flowdelegate/naments
Description: Themed name arrays for agents, bots, and fixtures. Pass a category, get fun names.
Author: FlowDelegate
Latest version: 1.0.2

# @flowdelegate/naments

Themed name arrays for your agents, bots, and fixtures. Pass a category, get fun names.

> **nam**e + ag**ents** = **naments**

## Install

```bash
npm install @flowdelegate/naments
```

## Usage

```typescript
import { getNames, getName, getCategories, hasCategory } from '@flowdelegate/naments';

// Get all names in a category (sorted)
getNames('christmas');
// => ['Blitzen', 'Comet', 'Cupid', 'Dancer', 'Dasher', ...]

// Get N random unique names
getNames('simpsons', 3);
// => ['Homer', 'Bart', 'Krusty']

// Get one random name
getName('south-park');
// => 'Butters'

// List all available categories
getCategories();
// => ['80s', '90s', 'cats', 'christmas', 'easter', ...]

// Check if a category exists
hasCategory('cats');
// => true
```

## Categories

| Category | Examples |
|----------|----------|
| `80s` | Bueller, McFly, Maverick, Ripley |
| `90s` | Chandler, Morpheus, Buffy, Urkel |
| `cats` | Garfield, Luna, Whiskers, Salem |
| `christmas` | Rudolph, Frosty, Grinch, Tinsel |
| `easter` | Bunny, Cadbury, Peep, Cottontail |
| `movie-stars` | Bogart, Hepburn, Hanks, Streep |
| `presidents` | Lincoln, Kennedy, Washington, Roosevelt |
| `simpsons` | Homer, Bart, Burns, Flanders |
| `south-park` | Cartman, Kenny, Butters, Randy |
| `super-heroes` | Batman, Spidey, Thor, Wolverine |

## Add a Category

Want to add your own? It's easy:

```bash
npm run new-category
```

Or manually:

1. Create `src/categories/your-category.json` with a sorted array of at least 10 names
2. Add an import + registry entry in `src/categories/index.ts`
3. Run `npm test` to validate
4. Open a PR!

See [CONTRIBUTING.md](CONTRIBUTING.md) for details.

## API

### `getNames(category: string): string[]`
Returns all names in the category, sorted alphabetically.

### `getNames(category: string, count: number): string[]`
Returns `count` random unique names from the category. If `count` exceeds the category size, returns all names (shuffled).

### `getName(category: string): string`
Returns one random name from the category.

### `getCategories(): string[]`
Returns all available category slugs, sorted.

### `hasCategory(category: string): boolean`
Returns `true` if the category exists.

All functions throw with a helpful message if the category doesn't exist.

## License

MIT
npm package: @flowease/riot-tmpl
Description: n8n fork of the riot template engine
Author: Riot maintainers team + smart people from all over the world
Latest version: 4.0.1

[![Build Status][travis-image]][travis-url]
[![Code Quality][codeclimate-image]][codeclimate-url]
[![Coverage Status][coverage-image]][coverage-url]
[![NPM version][npm-version-image]][npm-url]
[![NPM downloads][npm-dn-image]][npm-url]
[![MIT License][license-image]][license-url]

# Tmpl

The riot template engine

## Installation

### Npm

```sh
npm install @khulnasoft-lab/riot-tmpl --save
```

### Bower

From v2.4.2, bower is not supported.

## Documentation

### How it works?


Three ways:

- Expressions: `tmpl('{ value }', data)`.
  Returns the result of evaluated expression as a raw object.

- Templates: `tmpl('Hi { name } { surname }', data)`.
  Returns a string with evaluated expressions.

- Filters: `tmpl('{ show: !done, highlight: active }', data)`.
  Returns a space separated list of trueish keys (mainly used for setting html classes), e.g. "show highlight".


### Template examples

```js
tmpl('{ title || "Untitled" }', data)
tmpl('Results are { results ? "ready" : "loading" }', data)
tmpl('Today is { new Date() }', data)
tmpl('{ message.length > 140 && "Message is too long" }', data)
tmpl('This item got { Math.round(rating) } stars', data)
tmpl('<h1>{ title }</h1>{ body }', data)
```


### Falsy expressions

In templates (as opposed to single expressions) all falsy values except zero (undefined/null/false) will default to empty string:

```js
tmpl('{ undefined } - { false } - { null } - { 0 }', {})
// will return: " - - - 0"

tmpl('{}')                 // undefined
tmpl('{ false }', {})      // false
tmpl('{ null }', {})       // null
tmpl('{ 0 }', {})          // 0
```

## Changes in v2.3

* Brackets can not contain characters in the set `[\x00-\x1F<>a-zA-Z0-9'",;\\]`
* No comments in expressions, the compiler is the only that strip comments
* Attributes with expressions containing `>` must be quoted

See [API](doc/API.md) and [CHANGES](doc/CHANGES.md) for details.


[npm-version-image]: https://img.shields.io/npm/v/riot-tmpl.svg?style=flat-square
[npm-dn-image]:      https://img.shields.io/npm/dm/riot-tmpl.svg?style=flat-square
[npm-url]:           https://npmjs.org/package/riot-tmpl
[license-image]:     https://img.shields.io/badge/license-MIT-000000.svg?style=flat-square
[license-url]:       LICENSE
[travis-image]:      https://img.shields.io/travis/riot/tmpl.svg?style=flat-square
[travis-url]:        https://travis-ci.org/riot/tmpl
[coverage-image]:    https://img.shields.io/coveralls/riot/tmpl/master.svg?style=flat-square
[coverage-url]:      https://coveralls.io/r/riot/tmpl/?branch=master
[codeclimate-image]: https://img.shields.io/codeclimate/github/riot/tmpl.svg?style=flat-square
[codeclimate-url]:   https://codeclimate.com/github/riot/tmpl
npm package: @flower-digital/exoapi-sdk
Description: JavaScript/TypeScript SDK for ExoAPI
Latest version: 1.1.3

# ExoAPI

Official JavaScript/TypeScript SDK for [ExoAPI](https://exoapi.dev) ✨

## Installation

```shell
npm install @flower-digital/exoapi-sdk
```

## Documentation

Learn more at [https://exoapi.dev/documentation]
npm package: @flowerbi/react
Description: React helpers for FlowerBI
Author: Daniel Earwicker
Latest version: 6.0.0

# FlowerBI for React

Defines hooks for working with FlowerBI from React applications:

- `useFlowerBI` - the state of a query and the data it produces
- `usePageFilters` - a shared set of filters that chart components can interact via

Also some components:

- `FlowerBITable` - renders queried data to a plain HTML table
- `Row` and `Column`
npm package: @flowerforce/flower-react-history-context
Description: FlowerJS utils for Form handling.
Latest version: 4.0.0

# Flower React Context

<a alt="Flower logo" href="https://flowerjs.it/" target="_blank" rel="noreferrer"><img src="https://flowerjs.it/_next/static/media/flower-logo.bb32f863.svg" width="50"></a>

Flower React Context is a package used from both Flower React and Flower Form.
It allows to instantiace a singleton of a react context and let both flow and form to read from the same context.
This approach helps using both flow and form together or simply one of them alone to avoid checks of existence of the correct context instance.

# Documentation

The Flower Complete docs are published at [flowerjs.it/](https://flowerjs.it)
npm package: @flowernotfound/envui
Description: Beautiful environment variable viewer
Author: Hiroaki Mitsuyoshi
Latest version: 0.1.0

# envui

Beautiful environment variable viewer - A modern alternative to `printenv`

## About

envui is a CLI tool that displays environment variables in a clean, readable table format with color highlighting. It's designed to be a more user-friendly alternative to the traditional `printenv` command.

## Installation

```bash
npm install -g @flowernotfound/envui
```

## Usage

```bash
# Display all environment variables
envui

# Prefix filtering (case-insensitive)
envui VITE_
envui NODE_

# Filter by partial match (case-insensitive)
envui --filter API
envui -f API
envui --filter database
envui -f database

# Display help
envui --help

# Show version
envui --version
```

## Development

```bash
# Install dependencies
pnpm install

# Build the project
pnpm build

# Run in development mode
pnpm dev

# Run tests
pnpm test

# Run tests in watch mode
pnpm test:watch

# Run tests with coverage
pnpm test:coverage

# Type checking
pnpm typecheck

# Lint code
pnpm lint

# Fix lint issues automatically
pnpm lint:fix

# Format code
pnpm format

# Check code formatting
pnpm format:check

# Clean build artifacts
pnpm clean
```

## License

MIT
npm package: @flowerrealm/realms
Description: Install & run Realms personal app (realms-app) via npm
Latest version: 0.19.1

# realms (npm)

通过 npm 全局安装并运行 Realms 的 personal App（`realms-app`）。

## 安装

```bash
npm install -g @flowerrealm/realms
```

安装完成后会自动下载对应平台的 `realms-app`（来自 GitHub Releases），并提供命令 `realms`。

## 运行

```bash
realms
```

默认行为与 `realms-app` 一致（personal 模式、SQLite、本地启动后在日志中提示访问 `/login` 的地址；不自动打开浏览器）。

## 重设管理 Key

重设 personal 模式“管理 Key”（用于解锁 `/login` / 管理面）：

```bash
realms --set --key "NEW_KEY"
```

## 环境变量

- `REALMS_APP_BASE_URL`：下载源前缀（默认：`https://github.com/FlowerRealm/realms/releases/download`）
- `REALMS_APP_VERSION`：强制下载的版本（例如 `v0.16.0`）
- `REALMS_APP_SKIP_DOWNLOAD=1`：跳过下载（你自行放置二进制）
- `REALMS_APP_BIN`：直接指定要运行的 `realms-app` 路径（跳过下载与 vendor 查找）
- `REALMS_APP_SKIP_CHECKSUM=1`：跳过 sha256 校验（不推荐）

## 故障排查

1) 如果你安装时用了 `--ignore-scripts`（或环境禁用了 scripts），postinstall 不会执行：请重新安装或手动运行：

```bash
node "$(npm root -g)/realms/scripts/postinstall.js"
```

2) 下载失败：可配置 `REALMS_APP_BASE_URL` 指向镜像/CDN，并重试安装。