{"id":15007643,"url":"https://github.com/bjoshuanoah/require-environment-variables","last_synced_at":"2025-10-30T11:31:50.190Z","repository":{"id":32399081,"uuid":"35975705","full_name":"bjoshuanoah/require-environment-variables","owner":"bjoshuanoah","description":"Require environment variables for your node.js application","archived":false,"fork":false,"pushed_at":"2023-10-20T16:29:55.000Z","size":363,"stargazers_count":44,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-09-28T15:21:03.538Z","etag":null,"topics":["code","code-quality","dotenv","env","environment-variables","hacktoberfest","javascript","node-js","npm-package","npmjs","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/require-environment-variables","language":"TypeScript","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/bjoshuanoah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-05-20T21:39:25.000Z","updated_at":"2024-01-02T14:57:45.000Z","dependencies_parsed_at":"2024-01-15T09:10:49.273Z","dependency_job_id":"d55e55fa-00e7-438a-90ab-3c53e83a87dc","html_url":"https://github.com/bjoshuanoah/require-environment-variables","commit_stats":{"total_commits":35,"total_committers":6,"mean_commits":5.833333333333333,"dds":0.5714285714285714,"last_synced_commit":"19e1b72ce6de76238ee377b887590c0fba567657"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjoshuanoah%2Frequire-environment-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjoshuanoah%2Frequire-environment-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjoshuanoah%2Frequire-environment-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjoshuanoah%2Frequire-environment-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjoshuanoah","download_url":"https://codeload.github.com/bjoshuanoah/require-environment-variables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219856362,"owners_count":16556084,"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":["code","code-quality","dotenv","env","environment-variables","hacktoberfest","javascript","node-js","npm-package","npmjs","typescript"],"created_at":"2024-09-24T19:12:58.773Z","updated_at":"2025-10-30T11:31:49.812Z","avatar_url":"https://github.com/bjoshuanoah.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# require-environment-variables [![TypeScript](https://badges.frapsoft.com/typescript/code/typescript.svg?v=101)](https://github.com/ellerbrock/typescript-badges/)\n\n## Install\n\nnpm\n    \n    npm install require-environment-variables --save\n\nyarn\n\n    yarn add require-environment-variables\n\n## Usage\n\njs\n    \n    const requireEnv = require(\"require-environment-variables\");\n    requireEnv(['GOOGLEANALYTICSID', 'SSLKEY', 'SSLCERT', 'SSLCA']);\n\nts\n\n    import requireEnv from 'require-environment-variables'\n    requireEnv(['GOOGLEANALYTICSID', 'SSLKEY', 'SSLCERT', 'SSLCA']);\n\n  If any of the environment variables(process.env.GOOGLEANALYTICSID) don't exist, the process exits with code 400\n\n## Contribute\n\n    Update and add tests to tests/**/*.spec.ts\n    Pull requests will verify that tests pass\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjoshuanoah%2Frequire-environment-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjoshuanoah%2Frequire-environment-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjoshuanoah%2Frequire-environment-variables/lists"}