nestjs/config
소개
Nest 프레임워크(Node.js)용 구성 모듈 🍓
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalA progressive Node.js framework for building efficient and scalable server-side applications.
Description
Configuration module for Nest based on the dotenv (to load process environment variables) package.
Installation
$ npm i --save @nestjs/config
Quick Start
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
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.
관련 프로젝트 살펴보기
불러오는 중…