open-index/open-npm huggingface dataset:
npm package: @kuzorov/json-rpc-dispatcher
Description: JSON-RPC 2.0 client implementation
Author: Evgeniy Kuzorov
Latest version: 2.4.3

# How to

```js
import Rpc from 'json-rpc-dispatcher';
import { Request, Notification, Success, Error, JsonRpcError, adapters, parse } from 'json-rpc-dispatcher';

// Will return one of: Request, Notification, Success, Error, JsonRpcError
const RpcObject = parse('valid json rpc string or object');
 
let adapter = new adapters.Fetch('http://api.com');

let rpc = new Rpc(adapter);
 
rpc.interceptRequest((request) => {
  // ...
  return request;  
});
 
rpc.interceptResponse((response, request) => {
  // ...
  return response;  
});
 
rpc.deleteRequestInterceptor(callback);
rpc.deleteResponseInterceptor(callback);
 
let req1 = new Request({ id: 1, params: { param1: 'param1', param2: 'param2' } });
let req2 = new Request({ id: 2, params: { param1: 'param1', param2: 'param2' } });
 
let not1 = new Notification({ params: { param1: 'param1', param2: 'param2' } });
let not2 = new Notification({ params: { param1: 'param1', param2: 'param2' } });
 
let res = rpc.request(req1);
let resBatch = rpc.request([req1, req2]);
 
rpc.notify(not1);
rpc.notify([not1, not2]);

let resUrl = rpc.requestUrl(req1, 'http://api.com/api');
let resUrlBatch = rpc.requestUrl([req1, req2], 'http://api.com/api');
 
rpc.notifyUrl(not1, 'http://api.com/api');
rpc.notifyUrl([not1, not2], 'http://api.com/api');

```
npm package: @kuzorov/smoothscroll-polyfill
Description: Smooth Scroll behavior polyfill
Author: Dustan Kasten
Latest version: 0.4.6

# Smooth Scroll behavior polyfill

The [Scroll Behavior specification](https://developer.mozilla.org/en/docs/Web/CSS/scroll-behavior) has been introduced as an extension of the `Window` interface to allow for the developer to opt in to native smooth scrolling. To date this has only been implemented in [_Chrome_, _Firefox_ and _Opera_](https://caniuse.com/#feat=css-scroll-behavior).

Check out all the methods covered here: https://iamdustan.github.io/smoothscroll


## Installation and use

Download the production ready file [here](https://unpkg.com/smoothscroll-polyfill/dist/smoothscroll.min.js) and include it in your project, or install it as a package.

```sh
# npm
npm install @kuzorov/smoothscroll-polyfill --save

# yarn
yarn add @kuzorov/smoothscroll-polyfill
```

When including the polyfill in a script tag, it will run immediately after loaded.

If you are importing it as a dependency, make sure to call the `polyfill` method:

```js
import '@kuzorov/smoothscroll-polyfill';
```

In both cases, the script will detect if the spec is natively supported and take action only when necessary.

_The code requires requestAnimationFrame polyfill for browsers which don't support it._


### Force polyfill implementation

If you prefer to always override the native scrolling methods, place this global variable before requiring the module or including the polyfill file.

```js
window.__forceSmoothScrollPolyfill__ = true;
```

_We strongly recommend not to do this unless your project strongly needs it._


## Contribute

The requirements to contribute are [yarn](https://yarnpkg.com) and the latest LTS [Node.js](https://nodejs.org/en/) version.

First, fork the repository and do `yarn install` in the root folder to get all the dependencies to work with. Create a feature branch, write your stuff and run `yarn test` to check code style and prevent bugs.

In this project we use [Prettier](https://prettier.io) to format the final published code, you can run `yarn format` before committing. If you don't, a precommit hook will prevent you from pushing code that hasn't been formatted properly.

Are you done? Awesome, submit a pull request explaining your changes.

_This is a polyfill, not library, so make sure the behavior you are introducing is in the spec._

On tests files we are using ES2015, but the polyfill is written in ES5 for browser compatibility.


### Watch tests

If you want to watch tests as you write your code run `yarn test --watch`.


## Browser Support

Successfully working in:

- _natively supported in Chrome_
- _natively supported in Firefox_
- Safari 6+
- Internet Explorer 9+
- Microsoft Edge 12+
- Opera Next


## Standards documentation

- http://dev.w3.org/csswg/cssom-view
- http://lists.w3.org/Archives/Public/www-style/2013Mar/0314.html
npm package: @kuzorov/webstorage-fallback
Description: Polyfill for webstorage even in private tabs, etc
Author: Evgeniy Kuzorov
Latest version: 1.0.1

# webstorage-fallback

Web (local, session) storage fallback - lib that used to emulate web storage for browser than not support this functionality, 
or for Safari private mode. (With events)

## Usage
	npm i webstorage-fallback --save
	 
And just include polyfill to your project
npm package: @kuzu/kuzu-wasm
Description: Kuzu GraphDB powered by WebAssembly
Author: DylanShang
Latest version: 0.7.0

<div align="center">
  <img src="https://raw.githubusercontent.com/unswdb/kuzu-wasm/main/misc/logo.png" height="100">
  <h1>Kùzu-Wasm</h1>
</div>

<div align="center">
  <a href="https://www.npmjs.com/package/@kuzu/kuzu-wasm/v/latest">
    <img src="https://img.shields.io/npm/v/@kuzu/kuzu-wasm?logo=npm" alt="kuzu-wasm package on NPM">
  </a>
  <a href="https://github.com/unswdb/kuzu-wasm/actions">
    <img src="https://github.com/unswdb/kuzu-wasm/actions/workflows/shell.yml/badge.svg?branch=main" alt="Github Actions Badge">
  </a>
    <a href="https://hub.docker.com/r/dylanshang/kuzu-wasm">
    <img src="https://img.shields.io/docker/image-size/dylanshang/kuzu-wasm?logo=Docker" alt="Docker Badge">
  </a>

</div>
<h1></h1>

[Kùzu](https://github.com/kuzudb/kuzu) is an embedded graph database built for query speed and scalability.

Kùzu-Wasm brings kuzu to every browser thanks to WebAssembly.


Try it out at [kuzu-shell.netlify.app](https://kuzu-shell.netlify.app).


## Installation
Prerequisite: [Enable Cross-Origin-isolation](https://web.dev/articles/cross-origin-isolation-guide?hl=en#enable_cross-origin_isolation)
### CDN
```javascript
<script type="module">
import kuzu_wasm from 'https://unpkg.com/@kuzu/kuzu-wasm@latest/dist/kuzu-browser.js';
(async () => {
    const kuzu = await kuzu_wasm();
    window.kuzu = kuzu
    const db = await kuzu.Database()
    const conn = await kuzu.Connection(db)
    await conn.execute(`CREATE NODE TABLE User(name STRING, age INT64, PRIMARY KEY (name))`)
    await conn.execute(`CREATE (u:User {name: 'Alice', age: 35});`)
    const res = await conn.execute(`MATCH (a:User) RETURN a.*;`)
    const res_json = JSON.parse(res.table.toString());
})();
</script>
```
### Webpack/React/Vue
```bash
npm install @kuzu/kuzu-wasm
```
```javascript
import kuzu_wasm from '@kuzu/kuzu-wasm';
(async () => {
    const kuzu = await kuzu_wasm();
    const db = await kuzu.Database()
    const conn = await kuzu.Connection(db)
    await conn.execute(`CREATE NODE TABLE User(name STRING, age INT64, PRIMARY KEY (name))`)
    await conn.execute(`CREATE (u:User {name: 'Alice', age: 35});`)
    const res = await conn.execute(`MATCH (a:User) RETURN a.*;`)
    const res_json = JSON.parse(res.table.toString());
})();
```

## Build from source
```shell
git clone https://github.com/unswdb/kuzu-wasm.git --recursive
make package
```

## Repository Structure

| Subproject                                               | Description    | Language   |
| -------------------------------------------------------- | :------------- | :--------- |
| [kuzu_wasm](/lib)                                      | Wasm Library   | C++        |
| [@kuzu/kuzu-wasm](/packages/kuzu-wasm)             | Javascript API | Javascript |
| [@kuzu/kuzu-shell](/packages/kuzu-shell) | Cypher Shell      | React       |

## License
By contributing to kuzu-wasm, you agree that your contributions will be licensed under the [MIT License](LICENSE.txt).
npm package: @kuzulabz/expo-govatar
Description: Generate funny avatars
Author: KuzuLabz
Latest version: 0.1.0

# expo-govatar
> A mobile / wasm port of [Govatar](https://github.com/o1egl/govatar)

Generate funny avatars

## Install

For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.

### Bun
```bash
bun add @kuzulabz/expo-govatar
```

### Yarn
```bash
yarn add @kuzulabz/expo-govatar
```

### NPM
```bash
npm install @kuzulabz/expo-govatar
```

# Usage
[Full example](https://github.com/KuzuLabz/expo-govatar/blob/main/example/App.tsx)
```ts
import { generateAvatar } from '@kuzulabz/govatar';

const username = 'KuzuLabz';
const base64String = await generateAvatar({username});
const imageUri = `data:image/png;base64,${base64String}`;
```

### Web
Web requires these extra steps:
#### Metro Config
Add ```config.resolver.assetExts.push('wasm');``` to your metro config file.

#### Load WASM
```ts
import { loadGovatarWeb, loadGovatarWebAsync } from '@kuzulabz/govatar';

// for example, in App.tsx
loadGovatarWeb();

// or asyncronously
await loadGovatarWebAsync();
```

# API
### [Functions](https://github.com/KuzuLabz/expo-govatar/blob/main/src/index.ts)

#### `generateAvatar({username?: string, gender?: GenderType = 'MALE'}): Promise<string>`
Generate an avatar  
- **username**\<optional\>: A username or text 
- **gender**\<optional\>: [GenderType](#GenderType) (default: normal)
- **returns**: base64 string

### [Types](https://github.com/KuzuLabz/expo-govatar/blob/main/src/ExpoGovatar.types.ts)

#### GenderType
A selectable gender:
  - `MALE`
  - `FEMALE`
npm package: @kuzulabz/react-native-nitro-mecab
Description: A Mecab React Native library built with Nitro!
Author: KuzuLabz
Latest version: 0.1.0

# react-native-nitro-mecab

A Mecab react native package built with Nitro for Android and iOS.

Web support soon?

[![Version](https://img.shields.io/npm/v/@kuzulabz/react-native-nitro-mecab.svg)](https://www.npmjs.com/package/@kuzulabz/react-native-nitro-mecab)
[![Downloads](https://img.shields.io/npm/dm/@kuzulabz/react-native-nitro-mecab.svg)](https://www.npmjs.com/package/@kuzulabz/react-native-nitro-mecab)
[![License](https://img.shields.io/npm/l/@kuzulabz/react-native-nitro-mecab.svg)](https://github.com/KuzuLabz/react-native-nitro-mecab/LICENSE)

## Requirements

- React Native v0.76.0 or higher
- Node 18.0.0 or higher

## Installation

```bash
bun add @kuzulabz/react-native-nitro-mecab react-native-nitro-modules
```

## Usage
Checkout the [documentation site](https://kuzulabz.com/docs/react-native/mecab) for the full API.

```ts
import { Mecab } from '@kuzulabz/react-native-nitro-mecab';

// 1. Initialize
await Mecab.initialize('file:///path/to/dict/directory', 'ipadic');

// 2. Parse!
// Tokenize
const tokens = Mecab.tokenize(text);
tokens[0].surface

// Segment
const words = Mecab.wakati(text);
```

## Credits

Using [shogo82148's fork](https://github.com/shogo82148/mecab) of Mecab.

Bootstrapped with [create-nitro-module](https://github.com/patrickkabwe/create-nitro-module).

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
npm package: @kuzulabz/react-native-nitro-voicevox
Description: A VOICEVOX React Native library built with Nitro!
Author: KuzuLabz
Latest version: 0.1.1

# react-native-nitro-voicevox

An unoffical VOICEVOX React Native package built with [Nitro](https://nitro.margelo.com/)!

## Requirements
- Android minSdkVersion 26 

## Installation
```bash
bun add @kuzulabz/react-native-nitro-voicevox react-native-nitro-modules
```

## Usage
Checkout the [documentation site](https://kuzulabz.com/docs/react-native/voicevox) for the full API.

```ts
import { Voicevox, openVoiceModelFile, AudioOptions } from '@kuzulabz/react-native-nitro-voicevox';

// 1. Initialize
await Voicevox.initialize('file:///path/to/openJTalk/directory');

// 2. Load voice models
const voiceModel = await openVoiceModelFile('file:///path/to/model.vvm');
await Voicevox.loadVoiceModel(voiceModel);

// 2.5. Get a styleId
const metas = await Voicevox.getMetas();
const styleId = metas[0].styles[0].id;

// 3. TTS!
const wavb64 = await Voicevox.tts('こんにちは世界！', styleId);

// TTS but with control!
let audioQuery = Voicevox.createAudioQuery('こんにちは世界！', styleId);
audioQuery.speedScale += 0.1;

const audioConfig: AudioOptions = { format: 'arraybuffer', enableInterrogativeUpspeak: false };
const wavArrayBuffer = await Voicevox.synthesis(audioQuery, styleId, audioConfig);
```

## Credits
The [voicevox-core](https://github.com/VOICEVOX/voicevox_core)!

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Binaries are not included. You need to download the [voicevox_core](https://github.com/VOICEVOX/voicevox_core/releases/latest) and [voicevox_onnxruntime](https://github.com/VOICEVOX/onnxruntime-builder/releases/latest) dynamic libraries (so) and xcframeworks.
npm package: @kuzushi/augur
Description: Augur is an agent-agnostic skill package that operationalizes IRIS (ICLR 2025) as a reusable neuro-symbolic SAST workflow.
Latest version: 0.3.0

# Augur

Augur is an agent-agnostic skill package that operationalizes IRIS (ICLR 2025) as a reusable neuro-symbolic SAST workflow.

The package is not tied to any SDK, CLI wrapper, or agent runtime. Any agent that can:

1. Read files
2. Run shell commands
3. Call an LLM

can execute Augur end to end.

## What Augur contains

- `WORKFLOW.md`: the execution contract (two phases, checkpointed workflow)
- `references/`: CodeQL and framework guidance loaded on-demand
- `assets/`: reusable schema/template assets (taint + extraction templates)
- `scripts/`: deterministic helper scripts
- `examples/`: worked end-to-end example artifacts
- `adapters/claude-code/SKILL.md`: optional frontend for Claude Code

## Scope

Augur focuses on:

- API candidate extraction with CodeQL
- LLM-based source/sink/sanitizer labeling
- CodeQL library/query generation
- Sequential taint analysis runs per CWE pass
- Post-hoc false-positive triage and markdown reporting

## Supported languages and frameworks

Languages:

- Python
- Go
- Java
- JavaScript/TypeScript
- C#

Framework references included:

- FastAPI, Django, Flask
- Gin, Echo
- Spring Boot
- Express
- ASP.NET Core

## Quick start (any agent)

1. Read `WORKFLOW.md`.
2. Run Step 0 (pre-flight) before writing or executing queries.
3. Load `references/<language>.md` and `references/<framework>.md` based on detection.
4. Execute extraction and taint queries sequentially.
5. Generate `labels/labels.json` using `assets/labels_schema.json`.
6. Present checkpoint summary (pause for review in interactive mode).
7. Resume Phase 2, run analysis, then call `scripts/filter_and_report.py`.

## Repository layout

```text
augur/
├── README.md
├── WORKFLOW.md
├── references/
├── assets/
├── scripts/
├── examples/
└── adapters/
```

## Design principles

- Agent-agnostic: no runtime lock-in
- Deterministic shell workflow around probabilistic labeling
- Advisory human checkpoint between inference and exploitation
- Sequential execution for CodeQL DB safety
- Explicit artifact contracts between steps
npm package: @kv-designsystem/react
Description: This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Latest version: 1.0.0-alpha.0

# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).

## Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
npm package: @kv-designsystem/react-test
Description: This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Latest version: 0.0.2

# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).

## Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.