Skip to content

metreeca/core

@metreeca/core

npm

Essential TypeScript abstractions.

@metreeca/core is a foundational TypeScript toolkit with clean, minimalist APIs for common operations and functional patterns.

Installation

npm install @metreeca/core

Warning

TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json. The legacy "node" resolver is not supported.

Usage

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

Support

  • open an issue to report a problem or to suggest a new feature
  • start a discussion to ask a how-to question or to share an idea

License

This project is licensed under the Apache 2.0 License – see LICENSE file for details.

About

Essential TypeScript abstractions.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •