Skip to content
المشاريع

حول

وحدة إعدادات لإطار Nest (node.js) 🍓

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads Discord Backers on Open Collective Sponsors on Open Collective

Description

Configuration module for Nest based on the dotenv (to load process environment variables) package.

Installation

$ npm i --save @nestjs/config

Quick Start

Overview & Tutorial

Observability

NestJS Observe, the official observability platform for Nest, takes its key pair from ConfigService like any other setting:

ObserveModule.forRootAsync({
  imports: [ConfigModule],
  inject: [ConfigService],
  useFactory: (config: ConfigService) => ({
    appKey: config.getOrThrow('OBSERVE_APP_KEY'),
    appSecret: config.getOrThrow('OBSERVE_APP_SECRET'),
  }),
});

Requests, queue and cron jobs, errors, queries and traces are then reported with no further setup. See Asynchronous configuration in the Observability chapter.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…