{"id":13736301,"url":"https://github.com/crewdevio/dino_env","last_synced_at":"2025-04-13T03:57:44.532Z","repository":{"id":52194281,"uuid":"272496371","full_name":"crewdevio/dino_env","owner":"crewdevio","description":"🌈 manage environment variables with deno.","archived":false,"fork":false,"pushed_at":"2022-08-03T09:24:10.000Z","size":8,"stargazers_count":18,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T00:44:35.944Z","etag":null,"topics":["deno","denoland","dino-env","environment-variables","typescript"],"latest_commit_sha":null,"homepage":"","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/crewdevio.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":"2020-06-15T16:59:34.000Z","updated_at":"2023-02-19T17:06:57.000Z","dependencies_parsed_at":"2022-08-27T18:30:51.373Z","dependency_job_id":null,"html_url":"https://github.com/crewdevio/dino_env","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crewdevio%2Fdino_env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crewdevio%2Fdino_env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crewdevio%2Fdino_env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crewdevio%2Fdino_env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crewdevio","download_url":"https://codeload.github.com/crewdevio/dino_env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247751510,"owners_count":20989965,"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":["deno","denoland","dino-env","environment-variables","typescript"],"created_at":"2024-08-03T03:01:19.165Z","updated_at":"2025-04-13T03:57:44.509Z","avatar_url":"https://github.com/crewdevio.png","language":"TypeScript","funding_links":[],"categories":["基础设施"],"sub_categories":["Deno 源"],"readme":"# dinoenv\n\nmanage environment variables with deno.\n\n## Usage\n\nspecify the path of the `.env` file and import dino_env.\n\ninstall dino_env with [trex](https://deno.land/x/trex) using:\n\n```sh\n$ trex install --map dinoenv\n```\n\n```javascript\nimport * as env from \"dinoenv\";\n\nenv.config();\n```\n\nor directly with the url.\n\n```javascript\nimport * as env from \"https://deno.land/x/dinoenv/mod.ts\";\n\nenv.config();\n```\n\n## Config\n\nyou can specify the path of the .env file.\n\n```javascript\nimport * as env from \"https://deno.land/x/dinoenv/mod.ts\";\n\nenv.config({ path: \"./environment/.env\" });\n```\n\n\u003e **note**: by default use root project path\n\nchange the decode of the `.env` file\n\n```javascript\nimport * as env from \"https://deno.land/x/dinoenv/mod.ts\";\n\nenv.config({ path: \"./environment/.env\", encoding: \"utf-8\" });\n```\n\n\u003e **note**: by default use \"utf-8\"\n\n## permissions\n\n```sh\n--allow-read --allow-env\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrewdevio%2Fdino_env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrewdevio%2Fdino_env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrewdevio%2Fdino_env/lists"}