open-index/open-npm huggingface dataset:
npm package: @pentcloud/js-db
Description: Javascript API for cross-browser/device persistence layer. It implements a double compression algorithm (JSONC & GZIP) to reduce up to 80% data size, that is stored through PersistJS for storage engine fallbacks.
Author: Erick Ruano
Latest version: 1.1.1
Deprecated: false

# pentcloud-js-db

Javascript API for cross-browser/device persistence layer.  It implements a double compression algorithm (JSONC & GZIP) to reduce up to 80% data size, that is stored through PersistJS for storage engine fallbacks.
npm package: @pentcloud/js-request
Description: Request class which implements js-db for cache layer. It supports GET, POST, PUT & DELETE methods.
Author: Erick Ruano
Latest version: 1.3.1
Deprecated: false

# pentcloud-js-request

Request class which implements js-db for cache layer.  It   supports GET, POST, PUT & DELETE methods.  POST requests gets into a queue while GET requests are cached.
npm package: @penteract/ocr
Description: Node.js addon for penteract OCR engine.
Author: kaelzhang
Latest version: 0.0.1

[![Build Status](https://travis-ci.org/kaelzhang/penteract-ocr.svg?branch=master)](https://travis-ci.org/kaelzhang/penteract-ocr)
[![Coverage](https://codecov.io/gh/kaelzhang/penteract-ocr/branch/master/graph/badge.svg)](https://codecov.io/gh/kaelzhang/penteract-ocr)
<!-- optional appveyor tst
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/kaelzhang/penteract-ocr?branch=master&svg=true)](https://ci.appveyor.com/project/kaelzhang/penteract-ocr)
-->
<!-- optional npm version
[![NPM version](https://badge.fury.io/js/penteract-ocr.svg)](http://badge.fury.io/js/penteract-ocr)
-->
<!-- optional npm downloads
[![npm module downloads per month](http://img.shields.io/npm/dm/penteract-ocr.svg)](https://www.npmjs.org/package/penteract-ocr)
-->
<!-- optional dependency status
[![Dependency Status](https://david-dm.org/kaelzhang/penteract-ocr.svg)](https://david-dm.org/kaelzhang/penteract-ocr)
-->

# penteract-ocr

<!-- description -->

## Install

```sh
$ npm i penteract-ocr
```

## Usage

```js
import penteract_ocr from 'penteract-ocr'
```

## License

MIT
npm package: @pentestpad/tiptap-extension-figure
Description: An extension for Tiptap that allows you to add and edit captions for images as well as align and resize them.
Latest version: 1.1.0

# TipTap Figures Extension

![demo](https://raw.githubusercontent.com/PentestPad/tiptap-extension-figure/refs/heads/main/demo.gif?raw=true)

An extension for Tiptap that allows you to add and edit captions for images as well as align and resize them.

[Tiptap](https://tiptap.dev/) is a suite of open source content editing and real-time collaboration tools for developers building apps like Notion or Google Docs.

## Installation

You can install it using npm:

```bash
npm install @pentestpad/tiptap-extension-figure
```

Keep in mind that this package requires Tiptap 2.x.

## Usage

```javascript
import StarterKit from "@tiptap/starter-kit";
import ImageResizeWithCaption from "@pentestpad/tiptap-extension-figure";
import { EditorContent, useEditor } from "@tiptap/react";

const editor = useEditor({
  extensions: [StarterKit, ImageResizeWithCaption],
  content: `
    <h3>Image with caption</h3>
    <figure>
        <img src="https://placehold.co/800x400/orange/white" alt="Random photo of something" title="Who's dat?">
        <figcaption>
        <p>Very <strong>bold</strong> of <i>you</i>!</p>
        </figcaption>
    </figure>

    <h3>Image without caption</h3>
    <img src="https://placehold.co/800x400/green/white">
  `,
});
```
npm package: @pentible/eslint-config
Description: Pentible's standard eslint config
Author: pentible
Latest version: 0.114.0

# eslint-config

## usage

- `npm i -D @pentible/eslint-config @pentible/eslint-config-prettier`

- `eslint.config.mjs`

```js
import { pentible, relativeIgnoreFile } from "@pentible/eslint-config";
import { pentiblePrettier } from "@pentible/eslint-config-prettier";
import { defineConfig } from "eslint/config";

const config = defineConfig([
    relativeIgnoreFile(".gitignore", import.meta.url),
    pentible,
    pentiblePrettier,
]);

export default config;
```
npm package: @pentible/eslint-config-expo
Description: Pentible's standard eslint config (expo)
Author: pentible
Latest version: 0.114.0

# eslint-config-expo

## usage

- `npm i -D @pentible/eslint-config @pentible/eslint-config-react @pentible/eslint-config-expo @pentible/eslint-config-prettier`

- `eslint.config.mjs`

```js
import { pentible, relativeIgnoreFile } from "@pentible/eslint-config";
import { pentibleReact } from "@pentible/eslint-config-react";
import { pentibleExpo } from "@pentible/eslint-config-expo";
import { pentiblePrettier } from "@pentible/eslint-config-prettier";
import { defineConfig } from "eslint/config";

const config = defineConfig([
    relativeIgnoreFile(".gitignore", import.meta.url),
    pentible,
    pentibleReact,
    pentibleExpo,
    pentiblePrettier,
]);

export default config;
```
npm package: @pentible/eslint-config-next
Description: Pentible's standard eslint config (next.js)
Author: pentible
Latest version: 0.114.0

# eslint-config-next

## usage

- `npm i -D @pentible/eslint-config @pentible/eslint-config-node @pentible/eslint-config-web @pentible/eslint-config-react @pentible/eslint-config-next @pentible/eslint-config-prettier`

- `eslint.config.mjs`

```js
import { pentible, relativeIgnoreFile } from "@pentible/eslint-config";
import { pentibleNode } from "@pentible/eslint-config-node";
import { pentibleWeb } from "@pentible/eslint-config-web";
import { pentibleReact } from "@pentible/eslint-config-react";
import { pentibleNext } from "@pentible/eslint-config-next";
import { pentiblePrettier } from "@pentible/eslint-config-prettier";
import { defineConfig } from "eslint/config";

const config = defineConfig([
    relativeIgnoreFile(".gitignore", import.meta.url),
    pentible,
    pentibleNode,
    pentibleWeb,
    pentibleReact,
    pentibleNext,
    pentiblePrettier,
]);

export default config;
```
npm package: @pentible/eslint-config-node
Description: Pentible's standard eslint config (node)
Author: pentible
Latest version: 0.114.0

# eslint-config-node

## usage

- `npm i -D @pentible/eslint-config @pentible/eslint-config-node @pentible/eslint-config-prettier`

- `eslint.config.mjs`

```js
import { pentible, relativeIgnoreFile } from "@pentible/eslint-config";
import { pentibleNode } from "@pentible/eslint-config-node";
import { pentiblePrettier } from "@pentible/eslint-config-prettier";
import { defineConfig } from "eslint/config";

const config = defineConfig([
    relativeIgnoreFile(".gitignore", import.meta.url),
    pentible,
    pentibleNode,
    pentiblePrettier,
]);

export default config;
```
npm package: @pentible/eslint-config-prettier
Description: Pentible's standard eslint config (prettier)
Author: pentible
Latest version: 0.114.0

# eslint-config-prettier

## usage

- `npm i -D @pentible/eslint-config @pentible/eslint-config-prettier`

- `eslint.config.mjs`

```js
import { pentible, relativeIgnoreFile } from "@pentible/eslint-config";
import { pentiblePrettier } from "@pentible/eslint-config-prettier";
import { defineConfig } from "eslint/config";

const config = defineConfig([
    relativeIgnoreFile(".gitignore", import.meta.url),
    pentible,
    pentiblePrettier,
]);

export default config;
```
npm package: @pentible/eslint-config-react
Description: Pentible's standard eslint config (react)
Author: pentible
Latest version: 0.114.0

# eslint-config-react

## usage

- `npm i -D @pentible/eslint-config @pentible/eslint-config-web @pentible/eslint-config-react @pentible/eslint-config-prettier`

- `eslint.config.mjs`

```js
import { pentible, relativeIgnoreFile } from "@pentible/eslint-config";
import { pentibleWeb } from "@pentible/eslint-config-web";
import { pentibleReact } from "@pentible/eslint-config-react";
import { pentiblePrettier } from "@pentible/eslint-config-prettier";
import { defineConfig } from "eslint/config";

const config = defineConfig([
    relativeIgnoreFile(".gitignore", import.meta.url),
    pentible,
    pentibleWeb,
    pentibleReact,
    pentiblePrettier,
]);

export default config;
```
npm package: @pentible/eslint-config-storybook
Description: Pentible's standard eslint config (storybook)
Author: pentible
Latest version: 0.114.0

# eslint-config-storybook

## usage

- `npm i -D @pentible/eslint-config @pentible/eslint-config-storybook @pentible/eslint-config-prettier`

- `eslint.config.mjs`

```js
import { pentible, relativeIgnoreFile } from "@pentible/eslint-config";
import { pentibleStorybook } from "@pentible/eslint-config-storybook";
import { pentiblePrettier } from "@pentible/eslint-config-prettier";
import { defineConfig } from "eslint/config";

const config = defineConfig([
    relativeIgnoreFile(".gitignore", import.meta.url),
    pentible,
    pentibleStorybook,
    pentiblePrettier,
]);

export default config;
```
npm package: @pentible/eslint-config-web
Description: Pentible's standard eslint config (web)
Author: pentible
Latest version: 0.114.0

# eslint-config-web

## usage

- `npm i -D @pentible/eslint-config @pentible/eslint-config-web @pentible/eslint-config-prettier`

- `eslint.config.mjs`

```js
import { pentible, relativeIgnoreFile } from "@pentible/eslint-config";
import { pentibleWeb } from "@pentible/eslint-config-web";
import { pentiblePrettier } from "@pentible/eslint-config-prettier";
import { defineConfig } from "eslint/config";

const config = defineConfig([
    relativeIgnoreFile(".gitignore", import.meta.url),
    pentible,
    pentibleWeb,
    pentiblePrettier,
]);

export default config;
```
npm package: @pentible/prettier
Description: Pentible's standard prettier config
Author: pentible
Latest version: 0.114.0

# prettier

## usage

- `npm i -D @pentible/prettier`

- `prettier.config.mjs`

```js
export { default } from "@pentible/prettier";

// OR if you need to override settings
import pentible from "@pentible/prettier";

/** @satisfies {import("prettier").Config} */
const config = {
    ...pentible,
    plugins: [...pentible.plugins, "prettier-plugin-tailwindcss"],
};

export default config;
```
npm package: @pentible/shellcheck-all
Description: run shellcheck on all *.sh files
Author: pentible
Latest version: 0.114.0

# shellcheck-all

## usage

- `npm i -D @pentible/shellcheck-all`

- `npx shellcheck-all`

- optional: `npm i -D shellcheck` (optional dependency because many envs already
  have shellcheck installed and this package cannot be installed on vercel)
npm package: @pentible/tsconfig
Description: Pentible's standard tsconfig
Author: pentible
Latest version: 0.114.0

# tsconfig

## usage

- `npm i -D @pentible/tsconfig`

- `tsconfig.json`

```json
{
    "extends": "@pentible/tsconfig"
}
```

- OR for a js project:

```json
{
    "extends": "@pentible/tsconfig/js",
    "compilerOptions": {
        "outDir": "dist"
    }
}
```
npm package: @pentoai/ml-ralph
Description: Autonomous ML engineering agent with TUI
Author: Pento AI
Latest version: 0.4.5

# ml-ralph

[![npm version](https://img.shields.io/npm/v/@pentoai/ml-ralph.svg)](https://www.npmjs.com/package/@pentoai/ml-ralph)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

An autonomous ML engineering agent with a terminal user interface. ml-ralph automates the experiment loop — planning, execution, analysis, and learning extraction — so you can iterate on ML projects faster.

You define your goals through a PRD. The agent works through stories autonomously, runs experiments, tracks metrics, and accumulates structured learnings across iterations.

## Getting started

```bash
bunx @pentoai/ml-ralph
```

That's it. Run it inside any ML project directory and the TUI will launch in tmux.

### Requirements

- [Bun](https://bun.sh/) v1.0+
- [tmux](https://github.com/tmux/tmux) (`brew install tmux`)
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI, installed and authenticated

## The cognitive framework

ml-ralph operates as a paranoid scientist. Its core assumption: results are probably misleading, data is probably corrupted, and conclusions should be broken before they're trusted. It allocates roughly 70% of effort to understanding and verification, 20% to strategy, and 10% to execution.

The agent works through a 4-phase cognitive cycle:

```
UNDERSTAND → STRATEGIZE → EXECUTE → REFLECT
     ↑                                  │
     └──────────────────────────────────┘
```

**Understand** — Verify data integrity (row counts, label distributions, sample inspection). Run exploratory analysis. Research prior art. Build a mental model and explicitly list all assumptions. Nothing happens until this is done.

**Strategize** — Generate 3–5 competing hypotheses. For each: what's expected, why, and what will be learned. Think 5–6 steps ahead. Pick the path with the best learning-to-effort ratio. Run the smallest experiment that tests the hypothesis.

**Execute** — Run the experiment. Log metrics and observations as work happens, not after. Surprises are more valuable than confirmations.

**Reflect** — Verify results are real, not artifacts of bugs, leakage, or evaluation errors. Try to break your own result before trusting it. Then decide:

- Too good? → Verify harder
- Verified and promising? → Strategize next step
- Surprised or confused? → Go back to Understand
- Stuck after 2–3 experiments? → Strategic retreat to Understand
- All success criteria met and verified? → Complete

Strategic retreat — going back to understand when stuck — is a first-class concept, not a failure. Understanding is progress.

## License

MIT
npm package: @pentops/jsonapi-jdef-ts-generator
Description: Generate types from an api.json file served by your pentops j5 registry.
Author: Joshua Slate
Latest version: 0.0.137

# jsonapi-jdef-ts-generator

Generate types and API client functionality from a `api.json` file served by your [registry](https://github.com/pentops/registry).

## Getting Started

Install `@pentops/jsonapi-jdef-ts-generator` as a dev dependency and `@pentops/jsonapi-request` as a dependency (if you are going to use the generated API client).

### Configuration

Create a `.jdef_config.js` file in your project root. This file should default export a configuration object:

```js
const EXCLUDED_NAMESPACES = ['service', 'topic'];

export default {
  typeOutput: {
    fileName: 'index.ts',
    directory: './packages/types/generated',
    importPath: '@yourcompany/types',
  },
  clientOutput: {
    fileName: 'index.ts',
    directory: './packages/api-client/generated',
  },
  client: {
    // Remove the excluded namespaces from the method name and camelCase the result
    methodNameWriter: (method) =>
      method.fullGrpcName
        .split(/[./]/)
        .filter((s) => s && !EXCLUDED_NAMESPACES.includes(s.toLowerCase()))
        .map((s, i) => (i === 0 ? s : s[0].toUpperCase() + s.slice(1)))
        .join(''),
  },
  types: {
    enumType: 'enum',
    // Remove the excluded namespaces from the interface/enum name and camelCase the result
    nameWriter: (x) =>
      x
        .split('.')
        .filter((s) => s && !EXCLUDED_NAMESPACES.includes(s.toLowerCase()))
        .map((s) => s?.[0]?.toUpperCase() + s?.slice(1))
        .join(''),
  },
  jsonSource: {
    path: 'api.json',
  },
};
```

#### Source Configuration

You can specify the source of the api.json file using the `jsonSource` property.

- The `path` property should be the path to a local `api.json` file.
- The `service` property should be set for a remote `api.json` file. It should be an object with the following properties:
  - `url`: The URL of the remote `api.json` file.
  - `auth`: An optional object containing a `token` if required.

See the [configuration definitions](./src/config.ts) for more information.

### Generating Types

Add a script to your `package.json` to run the generator.

```json
{
  "scripts": {
    "generate-types": "jdef-ts-generator"
  }
}
```

## Peer Dependencies

You will need to have `@pentops/jsonapi-request` installed as a dependency if you're going to use the generated API client.
npm package: @pentops/jsonapi-request
Description: A TypeScript fetch wrapper for making requests to [jsonapi](https://github.com/pentops/jsonapi) projects.
Author: Joshua Slate
Latest version: 0.0.7

# jsonapi-request
A TypeScript fetch wrapper for making requests to [jsonapi](https://github.com/pentops/jsonapi) projects.

Basic use example:

```ts
import { buildMergedRequestInit, buildSplitRequestInit, makeRequest } from '@pentops/jsonapi-request';

interface LoginRequest {
  username: string;
  password: string;
}

interface LoginResponse {
  token: string;
}

export async function login(request: LoginRequest): Promise<LoginResponse> {
  return makeRequest<LoginResponse, LoginRequest>(...buildMergedRequestInit('POST', '/api/v1', '/login', request));
};

interface GetUserRequestPathParameters {
  id: string;
}

interface GetUserRequestQueryParameters {
  includeProfile?: boolean;
}

interface User {
  id: string;
  username: string;
  email: string;
}

interface UserResponse {
  user: User;
}

export async function getUser(id: string, includeProfile?: boolean): Promise<UserResponse> {
  return makeRequest<UserResponse>(...buildSplitRequestInit<GetUserRequestPathParameters, GetUserRequestQueryParameters>('GET', '/api/v1', '/users/:id', { id }, { includeProfile }));
}
```

## buildSplitRequestInit
Use buildSplitRequestInit if your types are separated into request bodies, path parameters, and query parameters.

## buildMergedRequestInit
Use buildMergedRequestInit if your types are merged into a single request type. Path parameters (denoted using colon format, e.g., :id) are replaced with the values in the request path.
Other parameters will be added to the query string for GET requests and the request body for other requests.

### Peer Dependencies
You will need to have `uuid` installed as a peer dependency.