open-index/open-npm huggingface dataset:
npm package: @sammohdnak/tide-sdk
Description: SDK for interacting with the Tide protocol
Latest version: 1.3.1

# SDK

[![npm version](https://img.shields.io/npm/v/@balancer/sdk/latest.svg)](https://www.npmjs.com/package/@balancer/sdk/v/latest)

WIP SDK for Balancer Protocol. Interfaces may have frequent breaking changes until a stable release.

## Local Setup

`pnpm install`

### Requirements

- `fetch`

### Polyfill

If your platform does not support one of the required features, it is also possible to import a polyfill.

- `fetch` -> [node-fetch](https://github.com/node-fetch/node-fetch#providing-global-access)

## Testing

`pnpm test`

Testing runs against a local anvil fork and requires the following RPC URL to be configured in your .env file:
```
ETHEREUM_RPC_URL
POLYGON_RPC_URL
FANTOM_RPC_URL
SEPOLIA_RPC_URL
```
### Anvil Client

To download and install the anvil client, run the following commands (MacOS):
- `curl -L https://foundry.paradigm.xyz | bash`
- `brew install libusb`
- `source /Users/$(whoami)/.zshenv`
- `foundryup`

## Documentation

In-depth documentation on this SDK is available at [docs-v3.balancer.fi/developer-reference/sdk](https://docs-v3.balancer.fi/developer-reference/sdk/).
npm package: @sammons/typed-mind
Description: Core language parser and validator for TypedMind DSL - a declarative language for building software architectures
Author: sammons
Latest version: 0.1.8

# @sammons/typed-mind

Core language parser and validator for TypedMind DSL - a declarative language for building software architectures.

## Installation

```bash
npm install @sammons/typed-mind
```

## Usage

```typescript
import { TypedMindParser, TypedMindValidator } from '@sammons/typed-mind';

// Parse TypedMind source code
const parser = new TypedMindParser();
const program = parser.parse(source);

// Validate the parsed program
const validator = new TypedMindValidator();
const validationResult = validator.validate(program);

if (validationResult.isValid) {
  console.log('Program is valid!');
} else {
  console.log('Validation errors:', validationResult.errors);
}
```

## What is TypedMind?

TypedMind is a Domain Specific Language (DSL) for declaratively describing software architectures, including:

- **Data Transfer Objects (DTOs)** - Pure data structures for configuration, serialization, and parameters (no functions allowed)
- **Service classes** - Business logic with methods and dependencies
- **ClassFile entities** - Fusion entities that combine class and file definitions - perfect for services and controllers
- **UI components** - User interface elements and their relationships
- **Asset management** - Static assets and routing configuration
- **Cross-cutting concerns** - Validation, security, and other system-wide concerns

## Features

- **Declarative syntax** - Focus on what your system does, not how it's implemented
- **Strong validation** - Catch architectural issues before they become problems
- **Dependency tracking** - Understand relationships between components
- **Import system** - Modular architecture with file-based organization
- **Type safety** - Comprehensive validation of all language constructs

## Example

```typedmind
program "User Management System"

dto UserDto {
  id: string
  email: string
  name: string
  createdAt: date
}

service UserService {
  method createUser(email: string, name: string): UserDto
  method getUserById(id: string): UserDto
  depends on DatabaseService
}

ui UserListComponent {
  displays UserDto[]
  triggers UserService.createUser
}
```

## Grammar

The complete TypedMind grammar is documented in [grammar.md](./grammar.md) and available in EBNF format in [grammar.ebnf](./grammar.ebnf).

## Requirements

- Node.js >= 22.0.0

## Related Packages

- [@sammons/typed-mind-cli](https://www.npmjs.com/package/@sammons/typed-mind-cli) - Command-line interface
- [@sammons/typed-mind-lsp](https://www.npmjs.com/package/@sammons/typed-mind-lsp) - Language Server Protocol implementation
- [@sammons/typed-mind-renderer](https://www.npmjs.com/package/@sammons/typed-mind-renderer) - HTML/D3.js renderer

## License

MIT
npm package: @sammons/typed-mind-cli
Description: Command-line interface for TypedMind DSL - a declarative language for building software architectures
Author: sammons
Latest version: 0.1.8

# @sammons/typed-mind-cli

Command-line interface for TypedMind DSL - a declarative language for building software architectures.

## Installation

```bash
npm install -g @sammons/typed-mind-cli
```

## Usage

```bash
# Parse and validate a TypedMind file
typed-mind validate program.tmd

# Render a TypedMind program to HTML
typed-mind render program.tmd --output output.html

# Show help
typed-mind --help
```

## What is TypedMind?

TypedMind is a Domain Specific Language (DSL) for declaratively describing software architectures, including:

- Data Transfer Objects (DTOs)
- Service classes and their dependencies
- UI components and their relationships
- Asset management and routing
- Cross-cutting concerns and validation rules

## Requirements

- Node.js >= 22.0.0

## Related Packages

- [@sammons/typed-mind](https://www.npmjs.com/package/@sammons/typed-mind) - Core parser and validator
- [@sammons/typed-mind-renderer](https://www.npmjs.com/package/@sammons/typed-mind-renderer) - HTML/D3.js renderer
- [@sammons/typed-mind-lsp](https://www.npmjs.com/package/@sammons/typed-mind-lsp) - Language Server Protocol implementation

## License

MIT
npm package: @sammons/typed-mind-lsp
Description: Language Server Protocol implementation for TypedMind DSL - providing IDE support with syntax highlighting, validation, and intellisense
Author: sammons
Latest version: 0.1.8

# @sammons/typed-mind-lsp

Language Server Protocol implementation for TypedMind DSL (.tmd files) - providing IDE support with syntax highlighting, validation, and intellisense.

## Installation

```bash
npm install @sammons/typed-mind-lsp
```

## Features

- Syntax validation using the @sammons/typed-mind validator
- Diagnostics for errors and warnings
- Hover information for entities
- Go to definition
- Find references
- Auto-completion for entity names and operators

## Usage

This package is primarily used by the VS Code extension. To run the LSP server standalone:

```bash
typed-mind-lsp
```

The server communicates via stdio and implements the Language Server Protocol.

## What is TypedMind?

TypedMind is a Domain Specific Language (DSL) for declaratively describing software architectures, including:

- Data Transfer Objects (DTOs)
- Service classes and their dependencies  
- UI components and their relationships
- Asset management and routing
- Cross-cutting concerns and validation rules

## Requirements

- Node.js >= 22.0.0

## Related Packages

- [@sammons/typed-mind](https://www.npmjs.com/package/@sammons/typed-mind) - Core parser and validator
- [@sammons/typed-mind-cli](https://www.npmjs.com/package/@sammons/typed-mind-cli) - Command-line interface
- [@sammons/typed-mind-renderer](https://www.npmjs.com/package/@sammons/typed-mind-renderer) - HTML/D3.js renderer

## License

MIT
npm package: @sammons/typed-mind-renderer
Description: Enterprise-grade interactive renderer for TypedMind DSL with advanced visualization, performance optimization, pattern recognition, and comprehensive architectural analysis
Author: sammons
Latest version: 0.2.1

# @sammons/typed-mind-renderer

Interactive HTML/D3.js renderer for TypedMind DSL - generates beautiful visualizations of software architectures.

## Installation

```bash
npm install @sammons/typed-mind-renderer
```

## Usage

```typescript
import { TypedMindParser } from '@sammons/typed-mind';
import { TypedMindRenderer } from '@sammons/typed-mind-renderer';

// Parse a TypedMind program
const parser = new TypedMindParser();
const program = parser.parse(typedMindSource);

// Render to HTML
const renderer = new TypedMindRenderer();
const html = renderer.renderToHtml(program);

// Save to file or serve via HTTP
```

## Features

- Interactive D3.js visualizations
- Entity relationship diagrams
- Dependency graphs
- Service architecture views
- UI component hierarchies
- Customizable styling and themes

## What is TypedMind?

TypedMind is a Domain Specific Language (DSL) for declaratively describing software architectures, including:

- Data Transfer Objects (DTOs)
- Service classes and their dependencies
- UI components and their relationships
- Asset management and routing
- Cross-cutting concerns and validation rules

## Requirements

- Node.js >= 22.0.0

## Related Packages

- [@sammons/typed-mind](https://www.npmjs.com/package/@sammons/typed-mind) - Core parser and validator
- [@sammons/typed-mind-cli](https://www.npmjs.com/package/@sammons/typed-mind-cli) - Command-line interface
- [@sammons/typed-mind-lsp](https://www.npmjs.com/package/@sammons/typed-mind-lsp) - Language Server Protocol implementation

## License

MIT