@metreeca/core
v0.9.22
Published
Essential TypeScript abstractions.
Readme
@metreeca/core
Essential TypeScript abstractions.
@metreeca/core is a foundational TypeScript toolkit with clean, minimalist APIs for value operations, runtime services, functional patterns and web standards.
Installation
npm install @metreeca/core[!WARNING]
TypeScript consumers must use
"moduleResolution": "nodenext"/"node16"/"bundler"intsconfig.json. The legacy"node"resolver is not supported.
Usage
| Module | Description | |-----------------------------------------|-----------------------------------------| | @metreeca/core | Core types, guards, and utilities | | Value Operations | | | @metreeca/core/strings | General-purpose string operations | | @metreeca/core/numbers | General-purpose number operations | | @metreeca/core/arrays | General-purpose array operations | | @metreeca/core/structures | General-purpose structural operations | | Runtime Services | | | @metreeca/core/async | Asynchronous execution utilities | | @metreeca/core/scope | Unique value allocation | | @metreeca/core/bucket | Bulk content storage | | Functional Patterns | | | @metreeca/core/order | Composable comparison functions | | @metreeca/core/trace | Composable value validators | | @metreeca/core/relay | Type-safe discriminated union switching | | @metreeca/core/state | Type-safe immutable state management | | Web Standards | | | @metreeca/core/resource | RFC 3987 resource identifiers | | @metreeca/core/language | BCP 47 tags and RFC 4647 basic ranges | | @metreeca/core/datatype | XSD 1.1 datatype identifiers | | @metreeca/core/base64 | RFC 4648 base64 encoders and decoders |
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.
