open-index/open-npm huggingface dataset:
npm package: @prism-creative/lyricjs
Description: Node.js wrapper for Lyric Health API
Author: Prism Creative, LLC
Latest version: 1.0.33

## Features

- Full TypeScript support
- NestJS integration
- Async configuration support
- Built-in error handling
- API endpoint wrappers for:
  - Member management
  - Consultation workflows
  - SSO integration
  - Census administration

## Dependencies

- Node.js >= 18.0.0
- NestJS ^10.0.0
- Axios ^1.6.0

## License

GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.

## Author

Prism Creative, LLC

## Links

- [GitHub Repository](https://github.com/prism-creative/lyricjs)
- [Bug Reports](https://github.com/prism-creative/lyricjs/issues)
npm package: @prism-lang/cli
Description: Command-line interface for Prism language
Latest version: 1.3.4

# @prism-lang/cli

Command-line interface for the Prism programming language.

<div align="center">
  <img src="https://docs.prismlang.dev/img/prism-logo-v1.png" width="160" alt="Prism logo" />
</div>

📚 **[Full Documentation](https://docs.prismlang.dev/)** | 🚀 **[Getting Started](https://docs.prismlang.dev/docs/intro)** | 💻 **[CLI Guide](https://docs.prismlang.dev/docs/cli)**

## Installation

```bash
# Install globally
npm install -g @prism-lang/cli

# Or use with npx
npx @prism-lang/cli
```

## Usage

### Run a Prism file
```bash
prism run myfile.prism

# Hot reload on changes
prism run --watch myfile.prism
```

### Start the REPL
```bash
prism repl
```

### Execute inline code
```bash
prism eval "x = 5 ~> 0.9; x"
```

### Send an LLM prompt
```bash
# Stream tokens from a specific provider/model
prism llm --provider claude --model claude-3-haiku --stream "Draft a haiku about autumn rain"

# Request reasoning metadata and disable structured output
prism llm --include-reasoning --no-structured-output "Explain why the sky is blue"
```

### Check version
```bash
prism --version
```

## Features

- **Run Prism files**: Execute `.prism` files from the command line (with optional `--watch` hot reload)
- **Interactive REPL**: Explore Prism interactively with confidence tracking
- **Inline evaluation**: Quick one-liners for testing
- **LLM Integration**: Built-in support for AI providers with per-command overrides (provider, model, temperature, tokens, reasoning, structured output)

## Configuration

Set up LLM providers with environment variables:

```bash
# Anthropic Claude
export CLAUDE_API_KEY=your-key

# Google Gemini
export GEMINI_API_KEY=your-key
```

## Examples

```bash
# Run a file with AI safety checks
prism run safety-check.prism

# Enable hot reload for local development
prism run --watch app.prism

# Start REPL with confidence tracking
prism repl

# Quick calculation with uncertainty
prism eval "temp = 72 ~> 0.95; <~ temp"
```

## Related Packages

- [`@prism-lang/core`](https://www.npmjs.com/package/@prism-lang/core) - Core language implementation
- [`@prism-lang/llm`](https://www.npmjs.com/package/@prism-lang/llm) - LLM provider integrations
- [`@prism-lang/confidence`](https://www.npmjs.com/package/@prism-lang/confidence) - Confidence extraction utilities
- [`@prism-lang/validator`](https://www.npmjs.com/package/@prism-lang/validator) - Validation toolkit
- [`@prism-lang/repl`](https://www.npmjs.com/package/@prism-lang/repl) - Interactive REPL

## License

MIT
npm package: @prism-lang/validator
Description: Comprehensive validation toolkit for the Prism programming language
Author: Prism Language Team
Latest version: 3.0.0

# @prism-lang/validator

Validation toolkit for Prism code generation and CI checks.

<div align="center">
  <img src="https://docs.prismlang.dev/img/prism-logo-v1.png" width="160" alt="Prism logo" />
</div>

## Features

- Syntax validation with parser-backed diagnostics
- Confidence flow/completeness checks for `uncertain` logic
- Type analysis and configurable lint rules
- Streaming validation for incremental generation workflows
- Error formatting helpers for agent/tooling feedback loops

## Installation

```bash
npm install @prism-lang/validator
```

## Quick Start

```typescript
import { createValidator } from '@prism-lang/validator';

const validator = createValidator();

const code = `
const result = llm("Is this valid?") ~> 0.78
uncertain if (result) {
  high { console.log("Very confident") }
  medium { console.log("Somewhat confident") }
  low { console.log("Not confident") }
}
`;

const report = validator.validateAll(code);
console.log(report.valid);
console.log(report.summary);
```

## API Surface

```typescript
interface PrismValidationAPI {
  validate(code: string): ValidationResult;
  parse(code: string): ParseResult;
  checkConfidenceFlow(code: string): ConfidenceFlowResult;
  checkConfidenceCompleteness(code: string): ConfidenceCompletenessResult;
  checkTypes(code: string): TypeCheckResult;
  lint(code: string, config?: LinterConfig): LintResult[];
  validateAll(code: string, config?: LinterConfig): ComprehensiveValidationResult;
  validateStreaming(chunk: string): StreamingValidationResult;
  formatErrors(errors: any[]): ErrorMessage[];
}
```

## Streaming Example

```typescript
const chunk1 = validator.validateStreaming('const x = llm("hello")');
const chunk2 = validator.validateStreaming(' ~> 0.8');
console.log(chunk1.errors, chunk2.errors);
```

## Common Rules

- `confidence-range`
- `uncertain-completeness`
- `require-confidence-in-uncertain`
- `variable-declared-before-use`
- `no-unused-variables`

## License

MIT