# @storm-trade/nestjs-config-discovery-client

> Install: ``` npm i @nestjs/event-emitter @storm-trade/nestjs-fetcher nestjs-pino @storm-trade/nestjs-config-discovery-client ```

Latest version **1.2.0** (published 2026-10-16) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @storm-trade/nestjs-config-discovery-client
pnpm add @storm-trade/nestjs-config-discovery-client
yarn add @storm-trade/nestjs-config-discovery-client
bun add @storm-trade/nestjs-config-discovery-client
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2026-10-16 |
| First published | 2024-12-17 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 73 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | eliseev_s, execc, stfy, hastom |

## Links

- npm: https://www.npmjs.com/package/@storm-trade/nestjs-config-discovery-client
- npm.io page: https://npm.io/package/@storm-trade/nestjs-config-discovery-client

## Recent versions

- 1.2.0 (latest) — 2026-10-16
- 1.1.5 — 2026-10-16
- 1.1.4 — 2026-07-22
- 1.1.3 — 2026-06-30
- 1.1.2 — 2026-01-12
- 1.1.1 — 2026-01-12
- 1.1.0 — 2025-11-06
- 1.0.8 — 2025-08-20
- 1.0.7 — 2025-08-19
- 1.0.6 — 2025-07-25
- 1.0.5 — 2025-07-02
- 1.0.4 — 2025-04-24
- 1.0.3 — 2025-01-28
- 1.0.2 — 2024-12-27
- 1.0.1 — 2024-12-25
- … 1 more at https://npm.io/package/@storm-trade/nestjs-config-discovery-client/versions

## README

Install:  
```
npm i @nestjs/event-emitter @storm-trade/nestjs-fetcher nestjs-pino @storm-trade/nestjs-config-discovery-client
```

Setup:  
```ts
// app.module.ts

@Module({
  imports: [
    LoggerModule.forRoot(/**/),
    EventEmitterModule.forRoot(),
    ConfigDiscoveryClientModule.forRoot(CONFIG_URL), // module is global
  ]
})
export class AppModule {}
```
Usage:

```ts

@Injectable()
export class AnyService {
  constructor(
    private readonly appConfig: ConfigDiscoveryClientService
  ) {}
  
  doSomething() {
    if (this.appConfig.hasVaultByAddress(vaultAddress)) {
      // ...
    }
    const market = this.appConfig.getMarketByAddress(ammAddress)
  }
}
```

---
_Source: https://npm.io/package/@storm-trade/nestjs-config-discovery-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
