open-index/open-npm huggingface dataset:
npm package: @jacekjagiello/object-validator
Description: Simple javascript object validator
Author: Jacek Jagiello
Latest version: 0.0.7

# @jacekjagiello/object-validator

[![Build Status](https://travis-ci.org/JacekJagiello/object-validator.svg?branch=master)](https://travis-ci.org/JacekJagiello/object-validator)

### Description
This is simple object validator, based on provided schema. I use it for my personal projects.

### Features
* Zero dependency
* Simple and flexible usage
* Good test coverage
* Typescript support

### Usage
`yarn add @jacekjagiello/object-validator`

**OR**

`npm install --save @jacekjagiello/object-validator`

Each key in productSchema is corresponding to the same key in an object you want to validate. Key contains an array of rules. Each rule contains error message and validation function, which returns true if the value is valid, and false if not

```
import { schema, string, number, minLength } from '@jacekjagiello/object-validator'

const productSchema = {
  name: [
    { message: 'Name must be as string', validator: string },
    { message: 'Name must contain minimum 5 characters', validator: minLength(5) },
  ],
  price: [{ message: 'Price must be a number', validator: number }],
}

const product = { name: 'A', price: null }

const { validate } = schema(productSchema)

const errors = validate(product)

console.log(errors)
```

Output:

```
{
  name: 'Name must contain minimum 5 characters',
  price: 'Price must be a number'
}
```

For more examples of usage **please read test file `index.test.ts`**

### Warnings
This is not stable version; **API can change**.
npm package: @jacepgold/react-flash
Description: A flash component
Author: jacepgold
Latest version: 1.0.2

# React Flash

### Installation

```sh
  $ npm install @jacepgold/react-flash
```

### Props
| Prop | Type |
| ---- | ---- |
| message | string |
| msgType | string |
| duration | integer (ms) |
npm package: @jacepkg/korean
Description: module relating korean: syllable, count, clear
Author: Jace
Latest version: 0.0.7

# @jacepkg/korean

한글과 관련된 모듈 모음

> github: https://github.com/jacealan/jacepkg-ts  
> npm: https://www.npmjs.com/package/@jacepkg/korean

- syllable(): 한글 음절 생성기
  > syllable() is the module that make any korean syllable.
- countLetter(): 글자수 세기
  > countLetter() is the module that count letter of strings
- countByte(): 바이트(Byte)크기 세기
  > countByte() is the module that count byte of strings
- countWord(): 단어수(띄어쓰기 기준) 세기
  > countWord() is the module that count word of strings by space
- clearSpace(): 문자열 정리: 탭(tab) -> 빈칸, 연속된 빈칸 -> 빈칸1개
  > clearSpace() is the module that make tab, double space to ONE space

# Installation

```shell
npm install @jacepkg/korean
```

# Usage

## Importing

```ts
import {
  syllable,
  countLetter,
  countByte,
  countWord,
  clearSpace,
} from "@jacepkg/korean"

syllable()
```

```ts
import korean from "@jacepkg/korean"

korean.syllable()
```

## syllable(length: number = 1, withspace: boolean = false): number

- length, withspace가 없으면 한 음절 생성
- withspace가 없거나 false면 공백 없이 원하는 길이의 음절 생성

```ts
syllable() // 촒
syllable(10) // 줩뇅쳱펻뻘껨즰쌍쉁뺼죓
syllable(10, true // 둎찍굍 뺍푡롁 쯚럔
```

## countLetter(text: string, withspace: boolean = true): number

```ts
countLetter("둎찍굍 뺍푡롁 쯚럔") // 10
countLetter("둎찍굍 뺍푡롁 쯚럔", false) // 8
```

## countByte(text: string, withspace: boolean = true): number

```ts
countByte("둎찍굍 뺍푡롁 쯚럔") // 26
countByte("둎찍굍 뺍푡롁 쯚럔", false) // 24
```

## countWord(text: string): number

```ts
countWord("둎찍굍 뺍푡롁 쯚럔") // 3
countWord("둎찍굍 뺍푡롁   쯚럔") // 3
```

## clearSpace(text: string, allowEmptyLine: number = 0): string

```ts
clearSpace("가나다    라마 바         사아") // 가나다 라마 바 사아
clearSpace("가나다  라마 바 사아\n하하하하\n\n\n\n대한민국 최고")
// 가나다 라마 바 사아
// 하하하하
// 대한민국 최고
clearSpace("가나다  라마 바 사아\n하하하하\n\n\n\n대한민국 최고", 1)
// 가나다 라마 바 사아
// 하하하하
//
// 대한민국 최고
clearSpace("가나다  라마 바 사아\n하하하하\n\n\n\n대한민국 최고", 2)
// 가나다 라마 바 사아
// 하하하하
//
//
// 대한민국 최고
```

## references

- https://github.com/pengooseDev/goose
- https://ko.wikipedia.org/wiki/%ED%95%9C%EA%B8%80_%EC%9D%8C%EC%A0%88
- https://jsikim1.tistory.com/161
- https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Math/random
npm package: @jacexh/claude-web-console
Description: Web-based console for Claude Code — manage sessions, switch models, preview artifacts
Author: jacexh
Latest version: 0.14.0

# @jacexh/claude-web-console

Web-based console for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) -- manage multiple sessions, switch models, preview artifacts, and more, all from the browser.

![Node.js](https://img.shields.io/badge/node-%3E%3D18-brightgreen)
![License](https://img.shields.io/badge/license-MIT-blue)

## Features

- **Multi-session management** -- create, resume, close, rename, and fork sessions
- **Model switching** -- change Claude model mid-session or at creation time
- **Permission control** -- choose permission mode per session (auto, acceptEdits, plan, bypassPermissions, dontAsk)
- **Environment variables** -- pass custom env vars when creating sessions
- **Artifact preview** -- HTML (sandboxed iframe), Markdown, code highlighting (Prism), Mermaid diagrams
- **SubAgent visualization** -- nested agent rendering with collapsible cards
- **Elicitation handling** -- inline form/URL prompts from MCP servers
- **Command menu** -- `/` slash commands with autocomplete
- **File mention** -- `@` file autocomplete in chat input
- **Settings dashboard** -- view permission mode, MCP server status, account info
- **Resizable three-panel layout** -- session list, chat, and artifact preview

## Quick Start

### npx (no install)

```bash
npx @jacexh/claude-web-console
```

Open [http://localhost:3000](http://localhost:3000) in your browser.

### Global install

```bash
npm install -g @jacexh/claude-web-console
claude-web-console --port 8080
```

### Docker

```bash
docker run -p 3000:3000 \
  -v ~/.claude:/root/.claude \
  ghcr.io/jacexh/claude-web-console
```

> Mount `~/.claude` so the container can reuse your existing Claude Code authentication.

### systemd (Linux)

```bash
# Copy the service file
cp claude-web-console.service ~/.config/systemd/user/

# Edit environment variables as needed
systemctl --user edit claude-web-console.service

# Enable and start
systemctl --user enable --now claude-web-console.service

# Check status / logs
systemctl --user status claude-web-console.service
journalctl --user -u claude-web-console.service -f
```

## CLI Options

```
claude-web-console [options]

Options:
  --port <number>   Port to listen on (default: 3000, env: PORT)
  --host <address>  Host to bind to (default: 0.0.0.0)
  --help, -h        Show this help message
  --version, -v     Show version
```

## Prerequisites

- **Node.js >= 18**
- **Claude Code CLI** installed and authenticated (`claude` must be available in PATH, or set `CLAUDE_PATH` env var)

## Development

```bash
git clone https://github.com/jacexh/talgent.git
cd talgent/claude-web-console
npm install
npm run dev
```

This starts both the Fastify server and Vite dev server concurrently.

## Tech Stack

- **Server:** Fastify v5, WebSocket, `@anthropic-ai/claude-agent-sdk`
- **Client:** React 19, Vite 6, Tailwind CSS v4
- **Runtime:** tsx (no build step for server in dev)

## License

MIT
npm package: @jaceyi/lexical-editor
Description: A React rich text editor based on Lexical, supporting HTML and JSON modes with extensible plugins.
Author: Jace Yi
Latest version: 0.0.5

# Lexical Editor

[![NPM version][npm-image]][npm-url] [![Github @jaceyi/lexical-editor][github-image]][github-url]

[npm-image]: https://badgen.net/npm/v/@jaceyi/lexical-editor?style=flat-square
[npm-url]: https://npmjs.org/package/@jaceyi/lexical-editor
[github-image]: https://badgen.net/badge/icon/lexical-editor?icon=github&label=Github&style=flat-square
[github-url]: https://github.com/jaceyi/lexical-editor

基于 [Lexical](https://lexical.dev/) 的 React 富文本编辑器，可快速上手。

- 基础富文本能力：粗体、斜体、下划线、标题、引用、列表
- 常用样式能力：颜色、字号、字体、对齐
- 扩展能力：链接、图片/文件上传、@提及、关键词高亮
- 双数据模式：`html` 字符串与 `json` 结构化数据

## Docs

[Documentation pages](https://lexical-editor-doc.web.app)

## Install

```bash
npm install @jaceyi/lexical-editor
# or
yarn add @jaceyi/lexical-editor
```

## Example

```tsx
import Editor, { useHTMLHandle } from '@jaceyi/lexical-editor';
import '@jaceyi/lexical-editor/style.css';

const App = () => {
  const [{ value }, editorProps] = useHTMLHandle({
    initialValue: '<p>Hello Lexical Editor</p>',
  });

  return (
    <>
      <Editor namespace="basic-demo" {...editorProps} />
      <pre>{value}</pre>
    </>
  );
};

export default App;
```

> `JSON` 模式可使用 `useJSONHandle`，并将 `mode` 设置为 `json`。

## License

MIT