{"id":18926757,"url":"https://github.com/ladjs/env","last_synced_at":"2025-10-28T14:46:39.825Z","repository":{"id":25278764,"uuid":"103627432","full_name":"ladjs/env","owner":"ladjs","description":"Environment configuration loader for Lad","archived":false,"fork":false,"pushed_at":"2022-11-09T23:06:17.000Z","size":798,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T02:01:53.825Z","etag":null,"topics":["config","configuration","dot","dotenv","env","environment","factor","koa","lad","twelve"],"latest_commit_sha":null,"homepage":"https://lad.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ladjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-15T07:24:47.000Z","updated_at":"2022-11-09T23:03:26.000Z","dependencies_parsed_at":"2023-01-14T02:27:22.804Z","dependency_job_id":null,"html_url":"https://github.com/ladjs/env","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ladjs","download_url":"https://codeload.github.com/ladjs/env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249080475,"owners_count":21209534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","configuration","dot","dotenv","env","environment","factor","koa","lad","twelve"],"created_at":"2024-11-08T11:17:05.072Z","updated_at":"2025-10-28T14:46:34.772Z","avatar_url":"https://github.com/ladjs.png","language":"JavaScript","readme":"# [**@ladjs/env**](https://github.com/ladjs/env)\n\n[![build status](https://github.com/ladjs/env/actions/workflows/ci.yml/badge.svg)](https://github.com/ladjs/env/actions/workflows/ci.yml)\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/ladjs/env.svg)]()\n\n\u003e Environment configuration loader for Lad\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n* [Options](#options)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install @ladjs/env\n```\n\n\n## Usage\n\n```js\nconst env = require('@ladjs/env')();\n\nconsole.log(env);\n```\n\n\n## Options\n\nYou can pass any option as you otherwise would normally to [dotenv-extended][].\n\nHere is the default option argument, note that it supports a `.env.test` path for `TEST` and `TESTING` environments as specified through `process.env.NODE_ENV`.\n\n```js\nconst env = require('@ladjs/env')({\n  encoding: 'utf8',\n  silent: true,\n  path: '.env',\n  defaults: '.env.defaults',\n  schema: '.env.schema',\n  errorOnMissing: true,\n  errorOnExtra: true,\n  errorOnRegex: false,\n  includeProcessEnv: true,\n  assignToProcessEnv: true,\n  overrideProcessEnv: false,\n});\n```\n\n\n## Contributors\n\n| Name           | Website                    |\n| -------------- | -------------------------- |\n| **Nick Baugh** | \u003chttp://niftylettuce.com/\u003e |\n\n\n## License\n\n[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)\n\n\n##\n\n[npm]: https://www.npmjs.com/\n\n[dotenv-extended]: https://github.com/keithmorris/node-dotenv-extended\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladjs%2Fenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fenv/lists"}