open-index/open-npm huggingface dataset:
npm package: @levratech/surveyor
Description: Minimal repo "atlas" generator for AI + humans. Produces: - `.surveyor/report.md` — human-readable summary (header + File Map + file contents) - `.surveyor/report.meta.json` — machine JSON (root, files, optional fileMap, version, gitCommit, generatedAt)
Latest version: 0.1.1

# Surveyor
Minimal repo "atlas" generator for AI + humans. Produces:
- `.surveyor/report.md` — human-readable summary (header + File Map + file contents)
- `.surveyor/report.meta.json` — machine JSON (root, files, optional fileMap, version, gitCommit, generatedAt)

## Install (workspace)
```bash
pnpm install
pnpm --filter @levratech/surveyor build
```

## Usage

```bash
pnpm svy build           # MD + JSON
pnpm svy build --meta-only
pnpm svy build --no-file-map
pnpm svy build --roots=src,packages/*/src --include=**/*.ts --exclude=**/*.test.ts
pnpm svy build --max-bytes=131072
```

## Defaults
•Auto-detect roots (monorepo-aware: packages/*/src, apps/*/src, src)
•Excludes: node_modules, .git, dist, .surveyor, **/*.d.ts, **/*.map, and JS artifacts inside src/
•Size/binary guards (skip >256KB or binary-ish files)
•File Map (regex-based imports/exports) with stoplist for placeholders ("pkg", "side-effect")

## Config (optional)

Create .project/surveyorrc.json:

```json
{
  "shadowDir": ".surveyor",
  "roots": ["src","packages/*/src"],
  "include": ["**/*.{ts,tsx,js,jsx}", "**/*.json"],
  "exclude": ["**/node_modules/**","dist/**",".surveyor/**"],
  "maxBytes": 262144,
  "importIgnore": ["pkg", "side-effect"]
}
```

## Output header (stamped)
•Version from package
•Git Commit (git rev-parse --short HEAD)
•Generated At ISO timestamp

## Why

Large context ≠ useful context. Surveyor compresses a repo into tiered views so agents (and people) can reason without slurping everything.

## Roadmap
•svy slice --profile small (summary + file map + selected files)
•--adapter ts (AST-accurate imports/exports via ts-morph)
•CI drift check (fail PR if report.meta.json changes unexpectedly)
npm package: @levrbet/shared
Description: Shared utilities, components, and types for the LEVR platform...
Latest version: 0.4.48

# @levrbet/shared

Shared utilities, components, and types for the LEVR platform...

## Installation

```bash
npm install @levrbet/shared @prisma/client
```

The Prisma client is automatically generated during installation - no additional setup required.

## Usage

```typescript
// Core utilities (universal - works in both browser and Node.js)
import { e18, LevrBaseMarket } from "@levrbet/shared/core"

// Prisma types and client
import { PrismaClient, GamePhase, MarketStatus } from "@levrbet/shared/core"
// Or directly from @prisma/client
import { PrismaClient, GamePhase } from "@prisma/client"

// Server-only utilities
import { authMiddleWare, validateApiKey } from "@levrbet/shared/server"

// React components and hooks
import { useAuth } from "@levrbet/shared/react"
```

## Package Structure

-   **`/core`** - Blockchain contracts, types, Prisma re-exports, and universal utilities
-   **`/server`** - Node.js server utilities (auth, database, logging, middleware)
-   **`/react`** - React components and hooks

## Peer Dependencies

This package requires the following peer dependencies:

| Package                 | Required For                 |
| ----------------------- | ---------------------------- |
| `@prisma/client`        | Database types and client    |
| `react`                 | React hooks (optional)       |
| `@tanstack/react-query` | React query hooks (optional) |
| `@privy-io/react-auth`  | Privy auth hooks (optional)  |

## Prisma

The Prisma schema is bundled in this package and the client is auto-generated on install. If you need to manually regenerate:

```bash
npx levrbet-prisma-setup
# Or directly:
npx prisma generate --schema=node_modules/@levrbet/shared/prisma/schema.prisma
```

## Development

```bash
npm install          # Install dependencies
npm run build        # Build package
npm run dev          # Build and pack for local testing
```

### Local Testing

```bash
# In this package
npm run dev  # Creates a .tgz file

# In consumer project
npm install /path/to/levr-shared/*.tgz
```

## License

Proprietary to LEVR Labs.