UNPKG

@nestjs/config

Version:

Configuration for NestJS: load .env files and custom configuration, validate it at startup, and read it through an injectable ConfigService.

7 lines (6 loc) • 113 B
/** * @publicApi */ export function getConfigToken(token) { return `CONFIGURATION(${token.toString()})`; }