UNPKG

handle-http-errors

Version:

Type-safe HTTP error handling package providing error classes, standardized responses, error handler, and built-in Express middleware support.

7 lines 243 B
export const NODE_ENV = { PRODUCTION: 'production', DEVELOPMENT: 'development', }; export const isProduction = process.env.NODE_ENV === NODE_ENV.PRODUCTION; export const isDevelopment = !isProduction; //# sourceMappingURL=config.js.map