# @jchpro/nest-common

> Common parts for the Nest.js apps

Latest version **0.5.0** (published 2025-12-14) · LGPL-3.0-only license · 0 weekly downloads

## Install

```sh
npm install @jchpro/nest-common
pnpm add @jchpro/nest-common
yarn add @jchpro/nest-common
bun add @jchpro/nest-common
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2025-12-14 |
| First published | 2024-02-04 |
| Weekly downloads | 0 |
| License | LGPL-3.0-only |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 2 |
| Unpacked size | 127.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | https://github.com/jchpro |
| Maintainers | jchpro |
| Keywords | nest.js, utilities, node |

## Links

- npm: https://www.npmjs.com/package/@jchpro/nest-common
- Repository: https://github.com/jchpro/nest
- Issues: https://github.com/jchpro/nest/issues
- npm.io page: https://npm.io/package/@jchpro/nest-common

## Dependencies (2)

- [class-validator](https://npm.io/package/class-validator.md) ^0.14.3
- [class-transformer](https://npm.io/package/class-transformer.md) ^0.5.1

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.5.0 (latest) — 2025-12-14
- 0.4.0 — 2025-10-21
- 0.3.0 — 2025-03-12
- 0.2.0 — 2024-11-13
- 0.1.0 — 2024-02-04

## README

# Common parts for the Nest.js apps

Typical parts for the typical Nest.js apps, just the way I like'em.

## Description

You'll find common things, like loggers, exceptions handlers and various other utilities for Nest.js apps.

I imagine it will grow alongside the projects I'm doing on the side, so expect more and more stuff appearing here with time.

## Installation

Required peer dependencies are:

- `@nestjs/common`

```shell
npm i @jchpro/nest-common
```

:warning: Functionalities might require additional peer dependencies, please refer to the specific functionality documentation. 

## Usage

What do you need?

- [Auth](./docs/auth.md) - Authorization & password utilities
- [CRUD](./docs/crud.md) - Base CRUD utilities
- [Logger](./docs/logger.md) - quick setup of the simplest Nest.js logger
- [Request logger](./docs/request-logger.md) - quick setup of the `morgan` request logger
- [Exceptions handler](./docs/exceptions.md) - global exceptions handler
- [OpenAPI utils](./docs/openapi.md) - quick setup of the Swagger UI, few other utilities

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