{"library":"bragg-env","type":"library","category":null,"description":"bragg-env is a middleware for the `bragg` serverless framework, designed to automatically extract and expose environment information within the request context (`ctx.env`) for AWS Lambda functions. It leverages the `aws-lambda-env` package to intelligently determine the runtime environment, providing sensible defaults such as `development` when running in `$LATEST` Lambda versions and `production` for other deployed versions. This behavior can be explicitly overridden by setting the `NODE_ENV` environment variable. The package's current stable version is 2.0.0, released approximately four years ago, indicating a mature but inactive state. Both `bragg-env` and its foundational `bragg` framework show no recent development activity or releases, suggesting the package is now abandoned. Its primary utility lies in simplifying environment configuration within the `bragg` ecosystem, abstracting away the specifics of AWS Lambda environment detection, but it lacks modern features and active community support that newer serverless frameworks might offer.","language":"javascript","status":"abandoned","version":"2.0.0","tags":["javascript","bragg","aws","lambda","environment","env","amazon"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bragg-env","imports":["const environment = require('bragg-env');","const { environment } = require('bragg-env');"]},{"cmd":"yarn add bragg-env","imports":[]},{"cmd":"pnpm add bragg-env","imports":[]}],"homepage":null,"github":"https://github.com/SamVerschueren/bragg-env","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bragg-env","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/bragg-env/compatibility"}}