open-index/open-npm huggingface dataset:
npm package: @systemix/passphrase
Description: A secure, memorable passphrase generator using cryptographically strong random values. Part of the Systemix toolkit.
Author: Shahadath Hossen Sajib
Latest version: 0.5.0

# @systemix/passphrase

[![npm](https://img.shields.io/npm/v/@systemix/passphrase.svg)](https://www.npmjs.com/package/@systemix/passphrase)

`@systemix/passphrase` is a secure and memorable passphrase generator for JavaScript and TypeScript. It creates human-readable passphrases by combining randomly selected words, offering a secure alternative to complex random character passwords.

## Features

- **Secure Randomness**: Uses Node.js `crypto` with bias-free selection.
- **Formatting Options**: Supports TitleCase, UPPERCASE, and standard capitalization.
- **Extra Security**: Inject random numbers into words and use randomized separators.
- **Entropy Calculation**: Built-in utility to calculate technical passphrase entropy.
- **Zero Dependencies**: Purely built with Node.js built-ins.
- **Memorable**: Generates easy-to-remember multi-word phrases.

## Installation

```bash
pnpm add @systemix/passphrase
```

or

```bash
npm install @systemix/passphrase
```

From GitHub Packages (add to `.npmrc`: `@shahadathhs:registry=https://npm.pkg.github.com`):

```bash
pnpm add @shahadathhs/passphrase
```

Use `@shahadathhs/passphrase` in imports.

## Usage

### Simple Example

```typescript
import { generatePassphrase } from '@systemix/passphrase';

const passphrase = generatePassphrase();
console.log(passphrase); // Example: "apple orange banana kiwi"
```

### Advanced Formatting

```typescript
const passphrase = generatePassphrase({
  wordCount: 4,
  useTitleCase: true,
  includeNumber: true,
  randomSeparator: true,
});

console.log(passphrase); // Example: "7Security.Meta_Flow9/Logic"
```

### Entropy Calculation

```typescript
import { calculatePassphraseEntropy } from '@systemix/passphrase';

const entropy = calculatePassphraseEntropy(4, 7776); // wordCount, listSize
console.log(`Entropy: ${entropy} bits`);
```

## API Reference

### `generatePassphrase(props?: PassphraseProps): string`

| Property          | Type       | Default    | Description                        |
| :---------------- | :--------- | :--------- | :--------------------------------- |
| `wordCount`       | `number`   | `4`        | Number of words (1 to 100).        |
| `separator`       | `string`   | `" "`      | Separator between words.           |
| `wordList`        | `string[]` | _Built-in_ | Custom list of words.              |
| `useTitleCase`    | `boolean`  | `false`    | Convert words to TitleCase.        |
| `useUpperCase`    | `boolean`  | `false`    | Convert words to UPPERCASE.        |
| `includeNumber`   | `boolean`  | `false`    | Inject a random digit into words.  |
| `randomSeparator` | `boolean`  | `false`    | Randomize separator between words. |

### `calculatePassphraseEntropy(wordCount: number, wordListSize: number): number`

Calculates the theoretical entropy of a passphrase (H = L \* log2(N)).

## License

MIT © [shahadathhs](https://github.com/shahadathhs)
npm package: @systemix/typescript
Description: Shareable TypeScript configs for base, Express, and Next.js projects. Part of the Systemix toolkit.
Author: Shahadath Hossen Sajib
Latest version: 0.5.0

# @systemix/typescript

[![npm](https://img.shields.io/npm/v/@systemix/typescript.svg)](https://www.npmjs.com/package/@systemix/typescript)

Standard TypeScript configurations for Systemix projects, providing optimized compiler options for various environments.

## Installation

```bash
pnpm add -D @systemix/typescript
```

or

```bash
npm install -D @systemix/typescript
```

From GitHub Packages (add to `.npmrc`: `@shahadathhs:registry=https://npm.pkg.github.com`):

```bash
pnpm add -D @shahadathhs/typescript
```

Use `@shahadathhs/typescript/base.json` (etc.) in your tsconfig.

## Usage

In your `tsconfig.json`:

```json
{
  "extends": "@systemix/typescript/base.json",
  "compilerOptions": {
    "outDir": "./dist"
  }
}
```

## Included Configs

| Config | Description |
| :----- | :---------- |
| `@systemix/typescript/base.json` | Base configuration for modern TypeScript projects. |
| `@systemix/typescript/express.json` | Optimized for Express.js services. |
| `@systemix/typescript/nextjs.json` | Optimized for Next.js applications. |

## License

MIT © [shahadathhs](https://github.com/shahadathhs)
npm package: @systemlight/auto-route-webpack-plugin
Description: Webpack plug-in that traverses the directory to generate information.
Author: SystemLighht
Latest version: 3.0.2

# @systemlight/auto-route-webpack-plugin

[![NPM version](https://img.shields.io/npm/v/@systemlight/auto-route-webpack-plugin.svg)](https://www.npmjs.com/package/@systemlight/auto-route-webpack-plugin)

> Webpack plug-in that traverses the directory to generate information.

- [灵感来源](https://v3.umijs.org/zh-CN/docs/convention-routing)

## 路由规则

### 默认文件忽略规则

- 以 . 或 _ 开头的文件或目录
- 以 d.ts 结尾的类型定义文件
- 包含 test、spec、e2e 的测试文件（适用于 .js、.jsx 和 .tsx 文件）
- components 和 component 目录
- utils 和 util 目录
- 不是 .js、.jsx、.ts 或 .tsx 文件

### 动态路由

约定 [] 包裹的文件或文件夹为动态路由。

比如：

```
src/pages/users/[id].tsx 会成为 /users/:id
src/pages/users/[id]/settings.tsx 会成为 /users/:id/settings
```

约定 [ $] 包裹的文件或文件夹为动态可选路由

### 嵌套路由

约定目录下有 _layout.tsx 时会生成嵌套路由，以 _layout.tsx 为该目录的 layout

## 使用方法

配置webpack

```javascript
// 内置了一个vue路由渲染器
const {AutoRouteWebpackPlugin, vueRoutesRender} = require('@systemlight/auto-route-webpack-plugin')

module.exports = {
    ...

    plugins: [
      new AutoRouteWebpackPlugin({
        targetPath: './src/views',
        importPath: '@/views',
        loaderTest: /routes\/index\.js$/,
        routesRender: vueRoutesRender
      })
    ]

  ...
}
```

配置vue.config.js

```javascript
const {AutoRouteWebpackPlugin, vueRoutesRender} = require('@systemlight/auto-route-webpack-plugin')

{
  configureWebpack:{
    plugins: [
      new AutoRouteWebpackPlugin({
        targetPath: './src/views',
        importPath: '@/views',
        loaderTest: /routes\/index\.js$/,
        routesRender: vueRoutesRender
      })
    ]
  }
}
```

routes 文件添加标记

```javascript
// https://v3.router.vuejs.org/zh/api/
const router = new VueRouter({
  base: '/',
  mode: 'history',
  routes: [
    // @auto-routes
    {
      name: '404',
      path: '/:pathMatch(.*)',
      alias: '/404',
      component: Code404
    }
  ]
})

export default router
```

## 配置参数

- targetPath：扫描文件的路径，根据此目录下的文件生成路由
- importPath：导入的前缀路径，如@/views
- publicPath：目录的访问前缀
- ignores：通用忽略正则表达式数组
- ignoreFiles：文件忽略正则表达式数组
- ignoreFolders：文件夹忽略正则表达式数组
- renderRoute：渲染路由函数
- loaderTest：用于路由注入位置，文件内需要包含`// @auto-routes`标记用来替换生成的路由
npm package: @systemlight/fabric
Description: A collection of configuration files containing prettier, eslint, stylelint.
Author: SystemLighht
Latest version: 5.1.7

# @systemlight/fabric

[![NPM version](https://img.shields.io/npm/v/@systemlight/fabric.svg)](https://www.npmjs.com/package/@systemlight/fabric)

> 一个包含 prettier，eslint，stylelint 的配置文件合集

## Usage

### 安装

```shell
npm i @systemlight/fabric --save-dev
yarn add @systemlight/fabric -D
```

### prettier

in `.prettierrc.js`

```javascript
const fabric = require('@systemlight/fabric')

module.exports = {
  ...fabric.prettier,
}
```

in `package.json`

```json
{
  "lint:prettier": "prettier -w \"src/**/*.{vue,js,jsx,ts,tsx}\"",
  "lint:m:prettier": "prettier -w \"packages/**/*.{vue,js,jsx,ts,tsx}\""
}
```

### eslint

in `.eslintrc.js`

```javascript
module.exports = {
  extends: [require.resolve('@systemlight/fabric/dist/eslint')]
}
```

in `package.json`

```json
{
  "lint:eslint-check": "eslint --ext vue,js,jsx,ts,tsx \"src/**.{vue,js,jsx,ts,tsx}\"",
  "lint:eslint": "eslint --fix --ext vue,js,jsx,ts,tsx \"src/**.{vue,js,jsx,ts,tsx}\"",
  "lint:m:eslint-check": "eslint --ext vue,js,jsx,ts,tsx \"packages/*/src/**.{vue,js,jsx,ts,tsx}\"",
  "lint:m:eslint": "eslint --fix --ext vue,js,jsx,ts,tsx \"packages/*/src/**.{vue,js,jsx,ts,tsx}\""
}
```

### stylelint

in `.stylelintrc.js`

```javascript
module.exports = {
  extends: [require.resolve('@systemlight/fabric/dist/stylelint')]
}
```

in `package.json`

```json
{
  "lint:eslint-check": "eslint --ext vue,js,jsx,ts,tsx \"src/**.{vue,js,jsx,ts,tsx}\"",
  "lint:eslint": "eslint --fix --ext vue,js,jsx,ts,tsx \"src/**.{vue,js,jsx,ts,tsx}\"",
  "lint:m:eslint-check": "eslint --ext vue,js,jsx,ts,tsx \"packages/*/src/**.{vue,js,jsx,ts,tsx}\"",
  "lint:m:eslint": "eslint --fix --ext vue,js,jsx,ts,tsx \"packages/*/src/**.{vue,js,jsx,ts,tsx}\""
}
```
npm package: @systemoperator/gateway
Description: API gateway utilities: retry, rate limiting, pagination, request logging
Latest version: 0.1.1

# @systemoperator/gateway

API gateway utilities: retry with exponential backoff, rate limit handling, pagination, request logging, response storage. Zero dependencies, works everywhere (Cloudflare Workers, Node, Deno, Bun).

## install

```bash
npm install @systemoperator/gateway
```

## usage

### create a gateway

```typescript
import { ApiGateway } from '@systemoperator/gateway';

const gateway = new ApiGateway({
  name: 'linear',
  baseUrl: 'https://api.linear.app',
  tokenProvider: { getToken: (connectionId) => loadFromDb(connectionId) },
  logger: myRequestLogger,        // optional
  responseStore: myR2Store,        // optional
  retry: { maxRetries: 5 },       // optional, has defaults
});
```

### REST requests

```typescript
const result = await gateway.fetch<IssueData>('/rest/issues', { method: 'GET' }, connectionId, ctx);
```

### GraphQL

```typescript
const result = await gateway.graphql<IssueData>(query, variables, connectionId, ctx);
```

checks `.errors` array even on 200 status.

### pagination

```typescript
import { paginators } from '@systemoperator/gateway';

const allItems = await gateway.paginate<Issue>('/rest/issues', paginators.notion(), connectionId, ctx);
```

4 built-in strategies: `paginators.notion()`, `paginators.relay()`, `paginators.pageToken()`, `paginators.offset()`.

### store interfaces

the package never touches databases or R2 directly. products inject implementations:

```typescript
import type { TokenProvider, RequestLogger, ResponseStore } from '@systemoperator/gateway';

const tokenProvider: TokenProvider = {
  async getToken(connectionId) { /* load from DB */ },
};

const logger: RequestLogger = {
  async log(entry) { /* insert into request_logs table */ },
};

const responseStore: ResponseStore = {
  async store(gatewayName, reqId, data) { /* store in R2/S3/disk */ },
};
```

### R2 response store

helper for Cloudflare R2 (separate import to avoid R2 type dependency):

```typescript
import { createR2ResponseStore } from '@systemoperator/gateway/r2';

const responseStore = createR2ResponseStore(env.R2_BUCKET);
```

### retry and utilities

```typescript
import { retryFetch, extractShape, countRecords } from '@systemoperator/gateway';

// standalone retry fetch
const result = await retryFetch<Data>(url, options, { maxRetries: 3 });

// response shape extraction for logging
const shape = extractShape(responseData);
const count = countRecords(responseData);
```

## defaults

- maxRetries: 5
- initialDelayMs: 1000
- maxDelayMs: 60000
- backoffMultiplier: 2
- rateLimitHeader: `x-ratelimit-remaining`
- rateLimitThreshold: 10 (sleeps 500ms when below)
- authScheme: `Bearer`

## license

MIT
npm package: @systemoperator/slug
Description: URL-safe slug generator with Cyrillic, emoji, and filename support
Latest version: 0.1.0

# @systemoperator/slug

URL-safe slug generator with support for Cyrillic transliteration, emoji, filenames, version numbers, and Unicode.

## Install

```
npm install @systemoperator/slug
```

## Usage

```typescript
import { slugify, transliterate } from '@systemoperator/slug';

slugify('My Document.pdf')        // 'my-document'
slugify('S2E6 Episode Title')     // 's2e6-episode-title'
slugify('Привіт світ.doc')        // 'pryvit-svit'
slugify('IMG_1234.jpg')           // 'img-1234'
slugify('Brøndby IF')             // 'brondby-if'
slugify('📁 My Documents.zip')    // 'my-documents'

// preserve file extension
slugify('report.pdf', { preserveExtension: true })  // 'report.pdf'

// separate numbers from letters
slugify('hello2world', { separateNumbers: true })    // 'hello-2-world'

transliterate('Привіт')           // 'Pryvit'
```

## Features

- strips file extensions by default (optional preserveExtension)
- Ukrainian Cyrillic transliteration (official standard)
- Nordic/European characters (ø, æ, ð, þ, ł, ß, œ)
- emoji removal
- UUID filename handling (iOS/macOS photo names)
- version number preservation (v1.2.3 -> v1_2_3)
- keeps letters and numbers together by default (S2E6, HTML5)
- index file detection (returns empty string)

## API

- `slugify(text: string, options?: SlugOptions): string` - generate URL-safe slug from text or filename
- `transliterate(text: string): string` - Ukrainian/Nordic/European character mapping
- `SlugOptions` - `{ preserveExtension?: boolean, separateNumbers?: boolean }`

## License

MIT - [system operator](https://systemoperator.com)
npm package: @systempath/relay
Description: A TypeScript-based CLI orchestrator that leverages Claude Code SDK to automate Laravel/Inertia/React/PostgreSQL development workflows
Author: Steven Moussawer
Latest version: 0.1.0-alpha.1

# @systempath/relay

> AI-powered Laravel development orchestrator (Alpha)

**Status:** 🚧 Early development - not production ready

## Installation

```bash
npm install -g @systempath/relay
```

## Quick Start

```bash
export ANTHROPIC_API_KEY="your-anthropic-api-key"
cd /path/to/laravel-project
relay "add user authentication"
```

## Requirements

- Node.js 18+
- Laravel 11.x project
- Anthropic API key ([get one here](https://console.anthropic.com/))

## Current Status

Alpha testing phase. Full documentation coming soon.

## License

MIT
npm package: @systemsoftware/serve
Description: Serve a directory over HTTP
Author: System Software
Latest version: 1.0.0

# Serve
Serve a directory over HTTP.

## Install
```bash
npm i -g @systemsofware/serve
```

## Usage
```bash
serve [directory] [port?]
```
Where `directory` is the directory to serve and `port` is the port to listen on. If `port` is not provided, it will default to `3000`.

## Example
```bash 
serve . 8080
```
This will serve the current directory on [port 8080](http://localhost:8080).
```
npm package: @syster42/core
Description: Core framework
Author: Gregor Mayr
Latest version: 0.1.0

#core

This library aims to support the basic foundation for all micro-services. It provides a set of common interfaces and classes that can be used to build a micro-service.

## Installation

```bash
npm i --save @syster42/core
```

## Usage

```typescript
import { Application } from '@syster42/core';
const app = new Application();
await app.run(MainServiceClass, logger);
```

## Features

- Dependency Injection
- Application lifecycle
- Multi process support / clustering
- Configuration Management
- Logging with customizable transports

## Links

coming soon...