Essential TypeScript abstractions.
@metreeca/core is a foundational TypeScript toolkit with clean, minimalist APIs for common operations and functional patterns.
npm install @metreeca/core
TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json.
The legacy "node" resolver is not supported.
| Module | Description |
|---|---|
| @metreeca/core | Core utility types and type guards |
| Basic Operations | |
| @metreeca/core/json | Type guards for JSON values |
| @metreeca/core/nested | Deep operations on nested objects and arrays |
| @metreeca/core/report | Error handling and execution reporting |
| @metreeca/core/async | Primitives for asynchronous operations |
| Network Operations | |
| @metreeca/core/resource | Resource identifiers and HTTP utilities |
| @metreeca/core/language | Language tags and ranges |
| Functional Patterns | |
| @metreeca/core/order | Composable comparison functions for sorting |
| @metreeca/core/relay | Type-safe relay for discriminated unions |
| @metreeca/core/state | Type-safe immutable state manager |
This project is licensed under the Apache 2.0 License – see LICENSE file for details.