open-index/open-npm huggingface dataset:
npm package: @goldenrod-app/fairfax
Description: A Fountain editor component for the web.
Author: Zach Lo
Latest version: 0.1.0

# Fairfax

Fairfax is a lightweight, web-based Fountain editor.

To try it out, you can clone the repo and run `npm test`.

## Dependencies

Fairfax uses [Hyperion](https://github.com/ogions/hyperion), a Typescript-based parser for Fountain screenplay markup. For more information on Fountain, see [the website](https://fountain.io/).

## Usage

Fairfax uses web technology and the HTML `contenteditable` attribute. To initialize it, create a new `Editor` with a container element as an argument.

```html
<!DOCTYPE html>
<head>
    <script type="module" defer>
        import { Editor } from "./fairfax.js";
        const container = document.getElementById("fairfax");
        if (container) new Editor(container);
    </script>
</head>
<body>
    <main id="fairfax"></main>
</body>
```

Note that the `Editor` exposes `undo` and `redo` methods, but it does not bind these to keyboard shortcuts by default. A basic example setup is available in `demo/index.html`.

```javascript
container.addEventListener("keydown", (e) => {
    if ((e.ctrlKey || e.metaKey) && e.key === "z") {
        e.preventDefault();
        if (e.shiftKey) {
            editor.redo();
        } else {
            editor.undo();
        }
    }
})
```

## Styling

Fairfax assigns classes to HTML elements, but it does not directly apply styling. In order for the displayed text to resemble a screenplay, it must be styled with CSS.

A set of reasonable defaults is available at `demo/style.css`.

## License

Fairfax is available under the MIT license.

---

Zach Lo

https://zachlo.com
npm package: @goldensheepai/noleakai
Description: AI dataset leak detection with canary tokens - Watermark, track, and detect unauthorized data sharing
Author: GoldenSheepAI
Latest version: 1.0.0

# NoLeakAI

A secure CLI developer tool built with Bun and TypeScript.

## Overview

NoLeakAI is a command-line interface tool designed for developers, focusing on security, performance, and excellent user experience.

## Features

- 🚀 **Fast Performance** - Built on Bun runtime with <50ms startup time
- 💪 **TypeScript** - Full type safety with strict mode enabled
- 🎨 **Beautiful CLI** - Interactive prompts and styled output
- 🔌 **Extensible** - Plugin architecture for custom functionality
- 🌐 **Cross-Platform** - Works on macOS, Linux, and Windows

## Prerequisites

- [Bun](https://bun.sh) >= 1.0.0

## Installation

```bash
# Clone the repository
git clone git@github.com:Radix-Obsidian/NoLeakAi.git
cd NoLeakAI

# Install dependencies
bun install
```

## Development

```bash
# Start development mode with hot reload
bun run dev

# Type checking
bun run type-check

# Run tests
bun test

# Watch mode for tests
bun run test:watch
```

## Building

```bash
# Build for production
bun run build

# Run the built version
bun start
```

## Project Structure

```
NoLeakAI/
├── src/              # Source code
├── tests/            # Test files
├── dist/             # Built output
├── bunfig.toml       # Bun configuration
├── tsconfig.json     # TypeScript configuration
└── package.json      # Project dependencies and scripts
```

## Scripts

- `bun run dev` - Start development mode with hot reload
- `bun run build` - Build for production
- `bun start` - Run the production build
- `bun test` - Run tests
- `bun run test:watch` - Run tests in watch mode
- `bun run type-check` - Check TypeScript types
- `bun run clean` - Clean build artifacts and dependencies

## Tech Stack

- **Runtime**: Bun
- **Language**: TypeScript 5.3+
- **CLI Framework**: Commander.js
- **Styling**: Chalk
- **Prompts**: Inquirer
- **Spinners**: Ora

## Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

## License

MIT

## Support

For issues and questions, please open an issue on GitHub.
npm package: @goldensheepai/shep-cli
Description: Shep CLI: Compile, verify, and deploy Shep specifications
Latest version: 0.1.4

# @goldensheepai/shep-cli

**The CLI for ShepLang — compile, verify, and deploy Shep specifications.**

[![npm](https://img.shields.io/npm/v/@goldensheepai/shep-cli?style=flat-square)](https://www.npmjs.com/package/@goldensheepai/shep-cli)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

---

## Installation

```bash
npm install -g @goldensheepai/shep-cli
```

---

## Quick Start

```bash
# Create a new ShepLang project
shep new my-app
cd my-app

# Let AI write your spec
shep draft "A task manager with priorities and due dates"

# Compile to Python + TypeScript + SQL
shep compile --input app.shep --output generated

# Verify without generating
shep verify app.shep
```

---

## Commands

### `shep new <name>`

Creates a new ShepLang project with starter files.

```bash
shep new my-saas-app
```

### `shep draft "<description>"`

Uses AI to generate a ShepLang spec from a natural language description.

```bash
shep draft "An e-commerce store with products, cart, and checkout"
```

### `shep compile`

Compiles a `.shep` file to production-ready code.

```bash
shep compile --input app.shep --output generated
```

**Output:**

- `backend/` — Python (FastAPI + Pydantic)
- `frontend/` — TypeScript (React + types)
- `schema.sql` — PostgreSQL schema
- `auth.py` — JWT authentication
- `admin.html` — Admin dashboard

### `shep verify`

Validates a spec without generating code.

```bash
shep verify app.shep
shep verify app.shep --strict   # Treat warnings as errors
shep verify app.shep --json     # JSON output
```

### `shep style`

Applies styling improvements (Tailwind, shadcn/ui).

```bash
shep style --input generated/frontend
```

### `shep deploy`

Generates deployment configs for Railway, Render, Fly.io, Vercel.

```bash
shep deploy --platform railway
```

---

## Example

```shep
app "SupportTickets"

data Ticket {
  title: text (required)
  message: text
  sentiment: ai("classify as positive, neutral, negative")
}

action EscalateTicket {
  if ai(message, "sounds frustrated") {
    set status = escalated
    alert on-call
  }
}
```

```bash
shep compile --input support.shep --output generated
```

---

## Related Packages

- [@goldensheepai/shep-core](https://www.npmjs.com/package/@goldensheepai/shep-core) — Parser & verifier
- [@goldensheepai/shep-sheplang](https://www.npmjs.com/package/@goldensheepai/shep-sheplang) — TypeScript codegen
- [@goldensheepai/shep-shepthon](https://www.npmjs.com/package/@goldensheepai/shep-shepthon) — Python codegen
- [@goldensheepai/shep-lsp](https://www.npmjs.com/package/@goldensheepai/shep-lsp) — Language Server

---

## License

MIT © [Golden Sheep AI](https://github.com/Radix-Obsidian)
npm package: @goldensheepai/shep-core
Description: Shep language core: parser, verifier, type system, and code generation
Latest version: 0.1.4

# @goldensheepai/shep-core

**The core engine for ShepLang — parser, verifier, type system, and AST.**

[![npm](https://img.shields.io/npm/v/@goldensheepai/shep-core?style=flat-square)](https://www.npmjs.com/package/@goldensheepai/shep-core)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

---

## What is shep-core?

`shep-core` is the foundational package for ShepLang. It provides:

- **Lexer & Parser** — Tokenizes and parses `.shep` files into an AST
- **Type System** — Full type inference and checking for ShepLang constructs
- **Verifier** — Validates specs for correctness, wiring, and constraint satisfaction
- **AST Types** — TypeScript interfaces for the entire ShepLang AST

---

## Installation

```bash
npm install @goldensheepai/shep-core
```

---

## Usage

```typescript
import { parse, verifySpec } from '@goldensheepai/shep-core';

// Parse a ShepLang program
const source = `
app "MyApp"

data User {
  email: text (required)
  role: enum(admin, user)
}
`;

const ast = parse(source);

// Verify the spec
const result = verifySpec(ast);

if (result.issues.length === 0) {
  console.log('Spec is valid!');
} else {
  result.issues.forEach(issue => {
    console.log(`${issue.severity}: ${issue.message}`);
  });
}
```

---

## API Reference

### `parse(source: string): ShepSpec`

Parses ShepLang source code and returns the AST.

### `verifySpec(spec: ShepSpec): VerificationResult`

Validates a parsed spec for:
- Type correctness
- Entity/screen/flow wiring
- Constraint satisfaction
- Relationship cycles

### `tokenize(source: string): Token[]`

Returns the token stream for a ShepLang program.

---

## AST Types

The package exports all AST node types:

```typescript
import type {
  ShepSpec,
  EntityNode,
  ScreenNode,
  FlowNode,
  RuleNode,
  FieldNode,
  AINode
} from '@goldensheepai/shep-core';
```

---

## Error Codes

| Code | Description |
|------|-------------|
| E001 | Unknown entity reference |
| E002 | Unknown field reference |
| E003 | Type mismatch |
| S001 | Screen references unknown entity |
| F001 | Flow references unknown screen |
| R001 | Rule constraint conflict |

---

## Related Packages

- [@goldensheepai/shep-cli](https://www.npmjs.com/package/@goldensheepai/shep-cli) — CLI tool
- [@goldensheepai/shep-sheplang](https://www.npmjs.com/package/@goldensheepai/shep-sheplang) — TypeScript codegen
- [@goldensheepai/shep-shepthon](https://www.npmjs.com/package/@goldensheepai/shep-shepthon) — Python codegen
- [@goldensheepai/shep-lsp](https://www.npmjs.com/package/@goldensheepai/shep-lsp) — Language Server

---

## License

MIT © [Golden Sheep AI](https://github.com/Radix-Obsidian)
npm package: @goldenthumb/simple-i18n
Description: i18n
Latest version: 0.2.3

# simple-i18n
[![npm](https://img.shields.io/npm/v/@goldenthumb/simple-i18n.svg)](https://www.npmjs.com/package/@goldenthumb/simple-i18n)

<br />

## Install
```sh
npm install @goldenthumb/simple-i18n
```
```js
//es6
import SimpleI18n from '@goldenthumb/simple-i18n';

//commonjs
const SimpleI18n = require('@goldenthumb/simple-i18n');
```

<br />
<br />

## Example
```js
const i18n = new SimpleI18n({
    defaultLocale: ['en'],
    locale: 'en',
    messages: {
        ['ko']: {
            hello: '안녕하세요.'
        },
        ['en']: {
            hello: 'hello.',
            bye: 'goodbye.'
        },
        ['ja']: {
            hello: 'こんにちは。',
            bye: 'さようなら。'
        }
    }
});

i18n.message('hello')
> hello.

i18n.switchLang('ja');
i18n.message('bye');
> さようなら。

i18n.switchLang('ko');
i18n.message('hello');
i18n.message('bye')
> 안녕하세요.
> goodbye.
```
```js
const i18n = new SimpleI18n({
    fallbackLocales: ['ko'],
    locale: 'ko',
    messages: {
        ['ko']: {
            product: '이것은 {{money}}원 이고, {{size}}개 들어있습니다.'
        }
    }
});

i18n.message('product', { money: 500, size: 2 })
> '이것은 500원 이고, 2개 들어있습니다.'
```
<br />
<br />

## Using by with @goldenthumb/simple-i18n-csv-to-json
[@goldenthumb/simple-i18n-csv-to-json](https://github.com/goldenthumb/simple-i18n-csv-to-json)
### sample csv
![example excel](https://raw.githubusercontent.com/goldenthumb/simple-i18n-csv-to-json/master/sample.png) <br>
,ko,en,ja,zh_CN,zh_TW <br>
yes,예,Yes,はい,是的,是的 <br>
no,아니오,No,いいえ,没有,沒有 <br>

```sh
npm install @goldenthumb/simple-i18n @goldenthumb/simple-i18n-csv-to-json
```

```js
import path from 'path';

const SimpleI18n = require('@goldenthumb/simple-i18n');
const toJson = require('@goldenthumb/simple-i18n-csv-to-json');

(async () => {
    const i18n = new SimpleI18n({
        fallbackLocales: ['en'],
        locale: 'en',
        messages: await toJson(path.resolve(__dirname, './sample.csv'))
    });

    i18n.message('yes')
    > Yes.

    i18n.switchLang('ja');
    i18n.message('no');
    > いいえ
})();

```

## License
MIT
npm package: @goldfinger87/half-float
Description: Utility for converting 16-bit floats
Author: junkwarrior87
Latest version: 0.1.0

# half-float

Utility for converting 16-bit floats. Might be useful for dealing with some special image formats (e.g. `.exr` format).

## Install

```sh
npm i @goldfinger87/half-float
```

## Usage

```js
import { Float16 } from '@goldfinger87/half-float';

console.log(Float16.fromBits(0x3C00));  // ==> 1.0
console.log(Float16.fromBits(0x3C01));  // ==> 1.0009765625
```

## Roadmap
- `toBits` function for converting back from half-float to binary bits (i.e., unsigned 16-bit integer)
- unit tests
- wasm implementation
- gpu (batched) implementation
- benchmark
npm package: @goldfinger87/use-modal
Description: Wrapper hooks for handling modal dialogs in React
Author: junkwarrior87
Latest version: 0.1.0

# use-modal

Wrapper hooks for handling modal dialogs in React

## Install

```sh
npm i @goldfinger87/use-modal
```

## Usage

```tsx
import {Ref, useImperativeHandle} from 'react';
import {ModalHandle, useModal, useModalHandle} from '@goldfinger87/use-modal';

function Modal({handle}: { handle: Ref<ModalHandle> }) {
    const [ref, imp] = useModal();
    const {hide} = imp;
    useImperativeHandle(handle, () => imp, []);
    return <dialog ref={ref}>
        <button onClick={() => hide()}>hide</button>
        <button onClick={() => hide('returnValue')}>hide w/ value</button>
    </dialog>;
}

function App() {
    const modal = useModalHandle();
    return <>
        <Modal handle={modal}/>
        <button onClick={() => modal.current.show()}>show</button>
        <button onClick={() => modal.current.showAsync('init').then(console.log)}>showAsync</button>
    </>;
}
```
npm package: @goldinteractive/cli
Description: Cli to ease project setup and maintenance
Author: Gold Interactive
Latest version: 0.0.0-alpha.5

# FE CLI

Cli to ease project setup and maintenance

## WIP

### CLI

with optional custom working directory
`setup sm`
`build-manifest`

### Structure

`.goldclirc`

```
{
    "registry": "https://github.com/bliblablub"
}
```

Registry:
```
{
    "sm": {
      name: 'sackmesser',
      url: 'https://github.com/Goldinteractive/Sackmesser/archive/release.zip',
      auth: 'none'
    },
    "bp": {
      name: 'blueprint',
      url: 'https://bitbucket.org/goldinteractive/craft-blueprint/get/master.zip',
      auth: 'basic'
    },
    "em": {
        ...
    }
}
```

Manifest:
```
{
    extends: ["sm", "bp", "em"]
}
```

#### Copy

```
{
    // exclusive
    "whitelist" | "blacklist": ["globs"],

    // 
    "preserve": ["globs"]
}
```

#### Merge

```
{
    "snippets": {
        "frontend/js/main.js": {
            "import": "import xyz from 'test';"
        }
    }
}

```

#### Dependencies

Read and parse package.json, extend where required