1.0.2 • Published 9 months ago

@denis_bruns/web-core-ts v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

@denis_bruns/web-core-ts

A TypeScript library providing core interfaces and types for building modular, testable web applications.

TypeScript npm version License: MIT GitHub


Overview

@denis_bruns/web-core-ts contains interfaces and types that serve as foundational building blocks for multiple libraries in your ecosystem. Previously part of a larger monorepo, it’s now separated into smaller, more focused packages. This core library helps keep your codebase:

  • Modular – By defining reusable contracts and abstractions.
  • Testable – Through clearly separated concerns and consistent interfaces.
  • Extensible – Encouraging a clean architecture approach with shared definitions.

Installation

Using npm:

npm install @denis_bruns/web-core-ts

Or yarn:

yarn add @denis_bruns/web-core-ts

Key Features

  1. Shared Contracts – Common interfaces for HTTP clients, data filters, pagination, and more.
  2. Clean Architecture Support – Define entity gateways, repositories, and domain models with reusable types.
  3. Type-Safe – Written in TypeScript to provide robust type checking and IDE autocompletion.

Related Packages

1. @denis_bruns/data-reflector

NPM
GitHub

Type-safe data transformation and reflection utilities. Easily map complex data structures through JSON paths or custom schemas.


2. @denis_bruns/nestjs-route-handler-builder

NPM
GitHub

Streamlined route-handler generation for NestJS, reducing boilerplate and promoting organized, maintainable server code.


3. @denis_bruns/aws-lambda-handler-builder

NPM
GitHub

A composable Lambda handler builder with type-safe input/output, integrated error handling, and robust middleware support.


4. @denis_bruns/http-client-axios

NPM
GitHub

An RxJS-powered Axios client with clean architecture in mind—provides middleware, interceptors, and type-safe request options.


5. @denis_bruns/http-client-angular

NPM
GitHub

Angular-friendly HTTP client abstraction integrating RxJS and a clean middleware approach for easier, testable HTTP calls.


6. @denis_bruns/http-client-middleware

NPM
GitHub

Middleware framework for building layered, configurable HTTP clients—supports AWS Secrets Manager, environment-based headers, caching, and more.


7. @denis_bruns/nosql-mongodb-service

NPM
GitHub

A ready-to-use NoSQL data service for MongoDB, offering common CRUD operations, query abstractions, and integration with your domain logic.


8. @denis_bruns/nosql-dynamodb-service

NPM
GitHub

A DynamoDB-focused service layer built for clean architecture scenarios—handles expression building, advanced filtering, and RxJS integration.


9. @denis_bruns/base-database-service

NPM
GitHub

A foundational database service for bridging domain models and data stores—abstracts CRUD operations, validations, and logging.


Contributing

Contributions, feature requests, and bug reports are welcome! Please open an issue or submit a pull request on GitHub.


License

This project is licensed under the MIT License.