nestjs/config
Sobre
Módulo de configuração para o framework Nest (Node.js) 🍓
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
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.
Explore projetos relacionados
Carregando…