{"id":15953851,"url":"https://github.com/yasu-s/dot-env-sample","last_synced_at":"2025-06-12T05:35:23.161Z","repository":{"id":149597681,"uuid":"213905643","full_name":"yasu-s/dot-env-sample","owner":"yasu-s","description":null,"archived":false,"fork":false,"pushed_at":"2019-10-11T12:40:42.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T05:41:55.981Z","etag":null,"topics":["dotenv"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/yasu-s.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-09T11:55:56.000Z","updated_at":"2019-10-11T12:40:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"69d5ab54-b60d-45e1-816a-fe392fba4ee6","html_url":"https://github.com/yasu-s/dot-env-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yasu-s/dot-env-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Fdot-env-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Fdot-env-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Fdot-env-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Fdot-env-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yasu-s","download_url":"https://codeload.github.com/yasu-s/dot-env-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Fdot-env-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259406186,"owners_count":22852532,"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":["dotenv"],"created_at":"2024-10-07T13:14:18.084Z","updated_at":"2025-06-12T05:35:23.145Z","avatar_url":"https://github.com/yasu-s.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 概要\n\ndotenvを使用してNode.js実行前に設定を読み込むサンプルです。\n\n# 実行環境\n\n* Node.js - 10.x\n* Yarn - 1.12.x\n\n# 使用ライブラ\n\n* dotenv - 8.1.x\n\n# 動作確認\n\n```\n# dotenvによる読み込みなし\n$ node index.js\n# output: undefined\n\n# dotenvによる.envファイル読み込み\n$ node -r dotenv/config index.js\n# output: hoge\n\n# dotenvによる.env-localファイル読み込み\n$ node -r dotenv/config index.js dotenv_config_path=./.env-local\n# output: hogehoge\n```\n\n# 参考URL\n\n* https://www.npmjs.com/package/dotenv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasu-s%2Fdot-env-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasu-s%2Fdot-env-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasu-s%2Fdot-env-sample/lists"}