brainy/examples
David Snelling 17bd7ab42d **feat(utils): add type utility functions and examples for runtime type management**
- Introduced `getNounTypes`, `getVerbTypes`, `getNounTypeMap`, and `getVerbTypeMap` utilities for managing noun and verb types at runtime.
- Added comprehensive unit tests (`type-utils.test.ts`) to ensure correctness of type utility functions.
- Created new example files (`type-utils-example.js`, `type-utils-example.ts`) to demonstrate the use of type utilities in JavaScript and TypeScript environments.
- Updated `README.md` with detailed documentation and usage examples for the new type utilities.
- Enhanced `index.ts` to export the new utility functions, making them accessible throughout the library.

**Purpose**: Facilitate easy access, validation, and manipulation of noun and verb types in client applications, providing better runtime type management.
2025-07-31 14:24:16 -07:00
..
cli-wrapper-example.js **style(cli): update examples with consistent formatting and clean code** 2025-07-15 11:53:42 -07:00
flush-statistics-example.js **feat(examples, core, docs): add flushStatistics example, implementation, and documentation** 2025-07-25 10:55:37 -07:00
type-utils-example.js **feat(utils): add type utility functions and examples for runtime type management** 2025-07-31 14:24:16 -07:00
type-utils-example.ts **feat(utils): add type utility functions and examples for runtime type management** 2025-07-31 14:24:16 -07:00
write-only-mode.js **feat: add write-only mode support and example usage** 2025-07-30 13:32:30 -07:00