elseware-js
v2.1.0
Published
A modern JavaScript and Node.js utility framework powering the elseware Technology ecosystem.
Readme
elseware-js
A modern Node.js utility and application framework powering the elseware ecosystem.
elseware-js provides a collection of reusable components, utilities, middleware, abstractions, and development patterns for building scalable Node.js applications and microservices.
Features
- TypeScript-first development
- Express.js integration
- Repository pattern abstractions
- Service layer architecture
- Request context management
- Structured error handling
- Validation utilities
- Logging and observability support
- Microservice-friendly design
- Reusable application building blocks
Installation
npm install elseware-jsUsage
import { AppError } from "elseware-js";
throw new AppError("Something went wrong");Development
TypeScript 7 is the only compiler dependency. tsup builds the JavaScript
bundles, then the TypeScript 7 CLI emits the declaration files. Oxlint provides
TypeScript and Vitest linting without relying on the removed legacy compiler
API.
npm install
npm run validateUseful commands:
npm run typecheck— TypeScript 7 validationnpm run lint/npm run lint:fix— Oxlint checks and fixesnpm run format:check/npm run format— Prettier checks and formattingnpm run deadcode— unused files, exports, and dependency checksnpm run test:run— the complete self-contained Vitest suitenpm run test:coverage— tests with enforced coverage thresholdsnpm run build— ESM, CommonJS, and declaration bundles
Documentation
Documentation, guides, and usage examples are available in the official repository.
About elseware Technology
elseware Technology builds tools, frameworks, and solutions for software engineering, cloud computing, game development, and developer productivity.
Contributing
Contributions, issues, and feature requests are welcome.
License
This project is licensed under the MIT License.
Copyright © 2026 elseware Technology.
