{"id":16371333,"url":"https://github.com/deptno/inject-direnv","last_synced_at":"2026-04-29T03:35:50.415Z","repository":{"id":84263297,"uuid":"152387265","full_name":"deptno/inject-direnv","owner":"deptno","description":":inbox_tray: Inject `.envrc` 🍳 WebStorm","archived":false,"fork":false,"pushed_at":"2018-10-18T08:01:47.000Z","size":539,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T14:25:05.416Z","etag":null,"topics":["direnv","envrc","evironment","intellij","intellij-plugin","webstorm","webstorm-plugin","webstorm-settings"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deptno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-10T08:15:53.000Z","updated_at":"2022-08-30T09:57:05.000Z","dependencies_parsed_at":"2023-05-24T04:30:12.582Z","dependency_job_id":null,"html_url":"https://github.com/deptno/inject-direnv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deptno/inject-direnv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deptno%2Finject-direnv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deptno%2Finject-direnv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deptno%2Finject-direnv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deptno%2Finject-direnv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deptno","download_url":"https://codeload.github.com/deptno/inject-direnv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deptno%2Finject-direnv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32409291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T02:37:21.628Z","status":"ssl_error","status_checked_at":"2026-04-29T02:36:50.947Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["direnv","envrc","evironment","intellij","intellij-plugin","webstorm","webstorm-plugin","webstorm-settings"],"created_at":"2024-10-11T03:07:41.803Z","updated_at":"2026-04-29T03:35:50.380Z","avatar_url":"https://github.com/deptno.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inject-direnv\n\nfind `.envrc`(until root directory) inject export variable\nif you are using JetBrain series, You can run IDE Run(`option` + `F11`) with injected `.envrc`\n\n## Install\n```bash\nnpm install -D inject-direnv\n```\n\n## Usage\n\n### WebStorm (Intellij)\n**Run** Intellij(WebStorm)  \n`Ctrl` + `A`\n\n![](configuration-webstorm-0.png)\n![](configuration-webstorm-1.png)\n\n### In code\n```javascript\nimport 'inject-direnv'\n```\n\n## Configuration\n\nDefault target direnv file is `.envrc`,\nyou can change with `INJECT_DIRENV_ENVRC` variable\n\nEdit `.envrc.local`\n\n```text\nexport ENVRC_LOCAL=yes\n```\n\nExport `INJECT_DIRENV_ENVRC`\n\n```bash\nexport INJECT_DIRENV_ENVRC=.envrc.local\n```\n\nLoad package\n\n```javascript\nimport 'inject-direnv'\n\nconsole.log(process.env.ENVRC_LOCAL)\n// yes\n```\n\n## Basic concept\n\n```bash\nvim .envrc\n```\n\nsave below text\n```bash\nexport INJECT=true\n```\n\n*Run* `node` with `-r inject-direnv` option\n```bash\nnode -r inject-direnv\n\u003e process.env.INJECT\n'true'\n```\n\n## License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeptno%2Finject-direnv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeptno%2Finject-direnv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeptno%2Finject-direnv/lists"}