# @usmanrehmat/core

> This package defines exception filter for nestjs

Latest version **0.1.7** (published 2025-01-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @usmanrehmat/core
pnpm add @usmanrehmat/core
yarn add @usmanrehmat/core
bun add @usmanrehmat/core
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.7 |
| Published | 2025-01-29 |
| First published | 2023-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 116.8 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yasir Hantoush |
| Maintainers | usmanrehmat |

## Links

- npm: https://www.npmjs.com/package/@usmanrehmat/core
- Repository: https://github.com/UsmanRehmat/core
- Homepage: https://github.com/UsmanRehmat/core#readme
- Issues: https://github.com/UsmanRehmat/core/issues
- npm.io page: https://npm.io/package/@usmanrehmat/core

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) ^0.27.2
- [express](https://npm.io/package/express.md) ^4.18.2
- [@usmanrehmat/cqm](https://npm.io/package/@usmanrehmat/cqm.md) ^0.0.28

## Recent versions

- 0.1.7 (latest) — 2025-01-29
- 0.1.6 — 2025-01-29
- 0.1.5 — 2024-06-03
- 0.1.4 — 2023-03-03
- 0.1.3 — 2023-03-03

## README

## NestJS Exception Eilter
This package proved exception filter for nestjs server that is compatible with CommandResponse schema defined in @h-platform/cqm npm package
It also provide CommandError, which extends HttpException defined in nestjs framework.
This is handy to throw exceptions that are compatible with CommandResponse format.

---
_Source: https://npm.io/package/@usmanrehmat/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
