open-index/open-npm huggingface dataset:
npm package: @sarm/arch
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.
Latest version: 1.0.0

# Arch

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @sarm/ui
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.
Latest version: 1.0.0

# Ui

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @sarmaakondi/binary-to-decimal
Description: A simple package to convert a binary string to a decimal number
Author: Sarma Akondi
Latest version: 1.0.0

# Binary to Decimal Converter

This npm package provides a simple function to convert a binary string (e.g., `"1010"`) into its decimal equivalent.

# Installation

Install the package using npm

```bash
npm install @sarmaakondi/binary-to-decimal
```

# Usage

```javascript
const binaryToDecimal = require("@sarmaakondi/binary-to-decimal);

const decimalNumber = binaryToDecimal("1010);
console.log(decimalNumber); // Outputs: 10
```
npm package: @sarmaakondi/demo-package
Description: My first pacakge
Author: Sarma Akondi
Latest version: 1.1.0

# My first package

This is my first package to learn how to publish packages in npm.

## Installation

```bash
npm install @sarmaakondi/demo-package
```

## Usage

```js
import { add, multiply } from "@sarmaakondi/demo-package";
console.log(add(1, 3));
console.log(multiply(3, 8));
```
npm package: @sarmay/kaz-converter
Description: Lightweight Kazakh Arabic/Cyrillic script converter for web and Node.js.
Author: sarmay
Latest version: 0.1.1

# @sarmay/kaz-converter

轻量、开箱即用的哈萨克语文字转换包，负责：

- 阿拉伯文 Tote Zhazu -> 西里尔文
- 西里尔文 -> 阿拉伯文 Tote Zhazu
- 浏览器 ESM
- Node.js

这个包默认不包含语言模型，不依赖 `onnxruntime-node`，适合 Web 和普通 Node.js 项目直接使用。

## 安装

```bash
npm install @sarmay/kaz-converter
```

## 浏览器使用

```ts
import { arb2syr, syr2arb } from "@sarmay/kaz-converter";

console.log(arb2syr("قازاقستان"));
console.log(syr2arb("Қазақстан"));
```

也可以直接用 CDN：

```html
<script type="module">
  import { arb2syr, syr2arb } from "https://cdn.jsdelivr.net/npm/@sarmay/kaz-converter/dist/index.js";

  console.log(arb2syr("سالەم"));
  console.log(syr2arb("Сәлем"));
</script>
```

## Node.js 使用

```ts
import {
  ArabicToCyrillicConverter,
  CyrillicToArabicConverter,
  arb2syr,
  syr2arb
} from "@sarmay/kaz-converter";

console.log(arb2syr("الما"));
console.log(syr2arb("Алматы"));

const arb2cyr = new ArabicToCyrillicConverter();
const cyr2arb = new CyrillicToArabicConverter();

console.log(arb2cyr.convert("اكەم كەلدى."));
console.log(cyr2arb.convert("Қазақстан"));
```

## API

- `arb2syr(text)`
- `arb2syrAsync(text, options)`
- `syr2arb(text)`
- `new ArabicToCyrillicConverter(options?)`
- `new CyrillicToArabicConverter(options?)`
- `new NoopDisambiguator()`

## 想接入 LM 消歧

请安装第二个包：

```bash
npm install @sarmay/kaz-converter @sarmay/kaz-converter-lm
```

然后参考 `@sarmay/kaz-converter-lm` 的 README，或者仓库根目录 README。
npm package: @sarmay/kaz-converter-lm
Description: Node.js LM and ONNX helpers for @sarmay/kaz-converter.
Author: sarmay
Latest version: 0.1.1

# @sarmay/kaz-converter-lm

`@sarmay/kaz-converter-lm` 是 `@sarmay/kaz-converter` 的 Node.js LM 扩展包。

它负责：

- ONNX masked language model 打分
- 歧义词候选句打分选择
- 直接创建可用的 `ArabicToCyrillicConverter`

这个包只面向 Node.js，不面向浏览器。

## 安装

```bash
npm install @sarmay/kaz-converter @sarmay/kaz-converter-lm
```

这个包会自动安装 `onnxruntime-node` 和 `@huggingface/tokenizers`，使用者不需要再手动装第三份依赖。

## 官方模型

推荐直接使用：

- 模型主页：<https://huggingface.co/sarmay/KazakhBERTmulti-onnx>
- 文件列表：<https://huggingface.co/sarmay/KazakhBERTmulti-onnx/tree/main>

在本仓库里也可以直接下载：

```bash
npm run download:model:kazbert
```

如果你是从 npm 安装这个包，而不是在仓库源码里工作，推荐直接用包自带 CLI：

```bash
npx sarmay-kaz-download
```

也可以指定目录：

```bash
npx sarmay-kaz-download ./models/KazakhBERTmulti-onnx
```

这个 CLI 支持：

- 已完成文件自动跳过
- 中断后的大文件自动续传
- 网络错误自动重试

## 最简单的用法

先把 ONNX 模型目录准备好，例如：

```txt
models/KazakhBERTmulti-onnx/
  model.onnx
  tokenizer.json
  tokenizer_config.json
  special_tokens_map.json
```

然后：

```ts
import { createOnnxArabicToCyrillicConverter } from "@sarmay/kaz-converter-lm";

const converter = await createOnnxArabicToCyrillicConverter({
  modelDirectory: "./models/KazakhBERTmulti-onnx"
});

console.log(await converter.convertAsync("الما بار."));
console.log(await converter.convertAsync("بىر كۇنى"));
```

## 分步用法

```ts
import { ArabicToCyrillicConverter } from "@sarmay/kaz-converter";
import {
  CandidateLanguageModelDisambiguator,
  OnnxMaskedLanguageModelScorer
} from "@sarmay/kaz-converter-lm";

const scorer = await OnnxMaskedLanguageModelScorer.fromDirectory("./models/KazakhBERTmulti-onnx");

const disambiguator = new CandidateLanguageModelDisambiguator({
  scorer
});

const converter = new ArabicToCyrillicConverter({
  useLm: true,
  disambiguator
});

console.log(await converter.convertAsync("اكەم كەلدى."));
```

## 模型目录要求

最少需要：

- `model.onnx`
- `tokenizer.json`
- `tokenizer_config.json`

可选但推荐同时提供：

- `special_tokens_map.json`
- `config.json`
- `vocab.txt` 或 `vocab.json` / `merges.txt`

## 模型来源

你可以：

- 下载作者预导出的模型压缩包并解压到本地目录
- 自己把 Hugging Face 的 masked LM 导出成 ONNX
- 使用你自己训练的兼容模型

只要最终目录结构符合上面的要求，这个包就可以直接加载。

## 自定义候选词

```ts
import { createOnnxDisambiguator } from "@sarmay/kaz-converter-lm";

const disambiguator = await createOnnxDisambiguator({
  modelDirectory: "./models/KazakhBERTmulti-onnx",
  homographs: {
    "الما": ["Алма", "Әлме"]
  }
});
```

## 自定义打分器

如果你不想用 ONNX，也可以自己提供一个句子打分器：

```ts
import { ArabicToCyrillicConverter } from "@sarmay/kaz-converter";
import { CandidateLanguageModelDisambiguator } from "@sarmay/kaz-converter-lm";

const disambiguator = new CandidateLanguageModelDisambiguator({
  scorer: async (sentence) => {
    if (sentence.includes("Алма")) return 0.1;
    if (sentence.includes("Әлме")) return 0.9;
    return 1;
  }
});

const converter = new ArabicToCyrillicConverter({
  useLm: true,
  disambiguator
});
```

更完整的模型准备和训练说明见仓库根目录 README 与 `docs/training-kazakh-lm.md`。
npm package: @sarnyaia1/aenscomp-lib
Description: ## Log in npm
Author: sarnyakos
Latest version: 1.2.0

# Create React Library project 1

## Log in npm

- Sign in to npm (http://https://www.npmjs.com/)

- Log in on terminal:

```
npm login
```

## Create base project with storybook

- Create project:

```
npx tsdx create my-project
```

- Choose template : react-with-storybook


- Test the storybook:

```
npm run storybook
```

## Publish the npm project

- Change the package name (package.json)

- Publish the package:

```
npm publish --acces public
```

- You can reach it: https://www.npmjs.com/package/@sarnyaia1/aenscomp-lib

## Update the library

- Change index.tsx (src/index.tsx)

- Make some comment and refresh version (major,minor,patch)

```
npm version minor -m "I am updating the library"
```

- Publish again:

```
npm publish --acces public
```

## Testing the created library

- Create a new react project:

```
yarn create react-app testproject
```

- Add the new library:

```
yarn add @sarnyaia1/aenscomp-lib
```

- Import the component to the App.js

```
import { Testcomponent } from '@sarnyaia1/aenscomp-lib';


<Testcomponent yourName="Adam" />
```

- Runt the project:

``` 
yarn start
```

## Result

![This is a screenshot](screenshot.png)
npm package: @saroamirkhanyan/ranges
Description: TypeScript library for ranges
Author: Saro Amirkhanyan
Latest version: 1.0.1

# Ranges

> Ranges is a JavaScript library for working with ranges and iterators
using beauty of Functional Programming


## Example
This code prints all even numbers between 0 and 100 which
are also root of integer
```typescript
import { flow } from 'fp-ts/function'
import { range, filter } from '@saroamirkhanyan/ranges' 

const isEven = (a: number) => a % 2 === 0;
const evens = flow(
	() => range(0, 100),
	filter(isEven)
);

const isRoot = flow(Math.sqrt, Number.isInteger);
const evenRoots = flow(
	evens,
	filter(isRoot)
);

for(const a of evenRoots()) {
	console.log(a);
}
```
npm package: @saroarshahan/gitgc
Description: A lightweight CLI tool that automates `git add`, `git commit`, and `git push` — with optional flags for flexibility.
Author: Saroar Shahan
Latest version: 1.0.9

# 🚀 @saroarshahan/gitgc

A lightweight CLI tool that automates `git add`, `git commit`, and `git push` — with optional flags for flexibility.

---

### 📦 Installation


<table>
<tr>
  <th>npm</th>
  <th>yarn</th>
</tr>
<tr>
<td>

```sh
npm install -g @saroarshahan/gitgc
```

</td>
<td>

```sh
yarn global add @saroarshahan/gitgc
```

</td>
</tr>
<tr>
<td>

```sh
npm install @saroarshahan/gitgc
```

</td>
<td>

```sh
yarn add @saroarshahan/gitgc
```

</td>
</tr>
</table>

### 🛠️ Usage

```bash
npm gitgc "your commit message" [--options]
```

### 🔧 Options

| Flag                | Description                                              | Default  |
| ------------------- | -------------------------------------------------------- | -------- |
| `-f, --files`       | Specify files or folders to stage                        |   `.`    |
| `-r, --remote`      | Git remote to push to                                    | `origin` |
| `-b, --branch`      | Git branch to push to                                    | `main`   |
| `-a, --amend`       | Amend the last commit instead of creating a new one.     | `false`  |
| `-np, --no-push`    | Skips the `git push` step                                | `false`  |
| `-po, --push-only`  | Skip staging/commit. Only pushes to remote branch.       | `false`  |
| `-nv, --no-verify`  | Hooks are skipped using `git` flags                      |          |
| `-h`, `--help`      | Show help information                                    |          |


### 📝 Examples

```bash
# Use `gitgc` to commit and push changes if you installed it globally
gitgc "fix: resolve issue with DataTable filter state"

# Simple commit and push
npm gitgc "fix: resolve issue with DataTable filter state"

# Commit specific file
npm gitgc "style: update item alignment in CSS" --files src/header.css

# Amend the previous commit and skip push
npm gitgc "fix: reword commit" --amend --no-push

# Push to different remote and branch
npm gitgc "feat: deploy script added" --remote origin --branch dev

# Skip hooks (e.g., Husky)
gitgc "fix: skip hooks" --no-verify

# Interactive mode (no commit message)
npm gitgc
```

### 🔍 Features
- Prompt-based fallback if no message is provided
- Checks for uncommitted changes before committing
- Safe defaults with room for customization
- Clean CLI experience with color-coded output
- By default, `gitgc` respects all Git hooks (like Husky’s `pre-commit`, `commit-msg`, `pre-push`).

### 🧑‍💻 Author

**Saroar Shahan**  
[GitHub](https://github.com/SaroarShahan) • [NPM](https://www.npmjs.com/~saroarshahan)

### 📄 License
MIT License
npm package: @saroby/nanobanana-mcp
Description: MCP server for Google Gemini image generation (Nano Banana)
Author: saroby
Latest version: 1.0.4

# @saroby/nanobanana-mcp

Google Gemini image generation MCP server (Nano Banana).

## Features

- **generate_image** - Generate images using Google Gemini models
  - `flash` mode: gemini-2.5-flash-image (fast, ~2-3s)
  - `pro` mode: gemini-3-pro-image-preview (high quality, ~5-8s)
- **list_images** - List generated images in a directory

## Setup

### Get API Key

1. Go to [Google AI Studio](https://aistudio.google.com/apikey)
2. Create an API key

### Install in Claude Code

```bash
claude mcp add nanobanana -e GEMINI_API_KEY=your-key-here -- npx -y @saroby/nanobanana-mcp
```

### Manual Usage

```bash
GEMINI_API_KEY=your-key-here npx @saroby/nanobanana-mcp
```

## Tools

### generate_image

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `prompt` | string | Yes | Image description (1-8192 chars) |
| `model` | `"flash"` \| `"pro"` | No | Model selection (default: flash) |
| `aspect_ratio` | enum | No | `1:1`, `16:9`, `9:16`, `4:3`, `3:4` |
| `negative_prompt` | string | No | Elements to exclude |
| `output_dir` | string | No | Save directory (default: ./nanobanana-images) |
| `count` | number | No | Number of images 1-4 (default: 1) |

### list_images

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `directory` | string | No | Directory to search (default: ./nanobanana-images) |

## Development

```bash
npm install
npm run build
npm run dev  # watch mode
```

## License

MIT
npm package: @saroj-parajuli/spsdesign
Description: Shared SPS design system package with MUI exports, theme helpers, animations, and Sass assets.
Latest version: 0.1.0

# SPSDESIGN

`@saroj-parajuli/spsdesign` is the shared SPS design system package extracted from the auth app design folder.

It currently ships:

- centralized MUI component exports
- shared icon exports and icon lookup helpers
- reusable MUI theme objects and style helpers
- Sass tokens, mixins, utilities, and shared auth styles

## Install

### Local workspace usage

```json
{
  "dependencies": {
    "@saroj-parajuli/spsdesign": "file:../design"
  }
}
```

Then run `npm install` in the consuming project. If your local clone lives elsewhere, replace `../design` with the correct relative path to this repository.

### GitHub usage

```json
{
  "dependencies": {
    "@saroj-parajuli/spsdesign": "git+https://github.com/saroj-parajuli/design.git#main"
  }
}
```

For SSH-based installs:

```json
{
  "dependencies": {
    "@saroj-parajuli/spsdesign": "git+ssh://git@github.com/saroj-parajuli/design.git#main"
  }
}
```

## Use

### MUI exports

```ts
import { Box, Button, Typography } from '@saroj-parajuli/spsdesign/mui';
```

### Theme exports

```ts
import { ThemeProvider, CssBaseline, theme } from '@saroj-parajuli/spsdesign/theme';
```

### Sass entrypoint

```scss
@use '@saroj-parajuli/spsdesign/sass' as *;
```

## Build

```bash
npm install
npm run build
```

The build outputs TypeScript bundles to `dist/` and copies the raw Sass assets to `dist/sass/`.

## Publish To npm

Before publishing, confirm that you own the npm scope used by the package name.

Current package name:

```json
"name": "@saroj-parajuli/spsdesign"
```

If you do not own the `@saroj-parajuli` scope on npm, rename the package before publishing.

### Validate the package contents

```bash
npm run build
npm pack
```

### Publish

```bash
npm login
npm whoami
npm publish --access public
```

Because the package is scoped, public publishing requires `--access public`.