{"id":21318642,"url":"https://github.com/codaline-io/parcel-optimizer-replace-envs","last_synced_at":"2025-03-15T22:14:34.429Z","repository":{"id":51123480,"uuid":"369840221","full_name":"codaline-io/parcel-optimizer-replace-envs","owner":"codaline-io","description":"parcel v2 optimizer to replace process.env in files","archived":false,"fork":false,"pushed_at":"2023-08-09T05:57:55.000Z","size":675,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-10T16:07:08.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codaline-io.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":"2021-05-22T15:17:12.000Z","updated_at":"2023-08-08T12:18:44.000Z","dependencies_parsed_at":"2024-11-01T15:32:08.061Z","dependency_job_id":"8cd6d2d6-50b9-4358-856b-108cf46ccb85","html_url":"https://github.com/codaline-io/parcel-optimizer-replace-envs","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"40cea1468ed8c6beafa61445c9236e839eb36c41"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fparcel-optimizer-replace-envs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fparcel-optimizer-replace-envs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fparcel-optimizer-replace-envs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fparcel-optimizer-replace-envs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codaline-io","download_url":"https://codeload.github.com/codaline-io/parcel-optimizer-replace-envs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796741,"owners_count":20349264,"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":[],"created_at":"2024-11-21T19:18:47.361Z","updated_at":"2025-03-15T22:14:34.410Z","avatar_url":"https://github.com/codaline-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Parcel v2 Optimizer to replace `process.env`s\n\n- reads `.env` file when ` NODE_ENV` !== `production`, default `process.cwd() + '.env'` (full path can be overwritten by setting `DOTENV_FILE` - how ironic :D)\n- replaces occurences of `process.env.X` with the value\n\n### How it works\n\n- somehow hacky, because as an optimizer it just uses a dumb regex to replace all `process.env` with its values","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodaline-io%2Fparcel-optimizer-replace-envs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodaline-io%2Fparcel-optimizer-replace-envs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodaline-io%2Fparcel-optimizer-replace-envs/lists"}