{"id":17749491,"url":"https://github.com/oresoftware/envar","last_synced_at":"2025-08-17T13:21:15.573Z","repository":{"id":57134186,"uuid":"180540760","full_name":"ORESoftware/envar","owner":"ORESoftware","description":"Echo strings interpreted by bash.","archived":false,"fork":false,"pushed_at":"2019-04-10T20:19:39.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T08:02:25.685Z","etag":null,"topics":["bash","environment","environment-variables","nodejs","npm","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/ORESoftware.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-10T08:47:10.000Z","updated_at":"2019-04-10T20:19:40.000Z","dependencies_parsed_at":"2022-09-04T09:01:21.799Z","dependency_job_id":null,"html_url":"https://github.com/ORESoftware/envar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fenvar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fenvar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fenvar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Fenvar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ORESoftware","download_url":"https://codeload.github.com/ORESoftware/envar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246604610,"owners_count":20804100,"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":["bash","environment","environment-variables","nodejs","npm","shell"],"created_at":"2024-10-26T11:23:32.324Z","updated_at":"2025-04-01T08:11:20.362Z","avatar_url":"https://github.com/ORESoftware.png","language":"Shell","readme":"\n## Envar\n\nGet strings interpreted by bash (for env var interpolation, etc).\n\n```js\nconst envar = require('@oresoftware/envstr');\n\nenvar.getEnvStrings([\"$age\"], (err, values) =\u003e {\n    // err is potential error\n    // values is array of interpreted strings\n});\n\nenvar.getEnvString(\"$age\", (err, value) =\u003e {\n  // err is potential error\n  // value is interpreted string\n});\n\n\nenvar.getEnvStringsp([\"$age\"]).then(values =\u003e {\n  // values is array of interpreted strings\n});\n\nenvar.getEnvStringp(\"$age\").then(val =\u003e {\n  // val is interpreted string\n});\n\n\n\n\n```\n\nTo kill the process at anytime:\n\n```js\nenvar.kill(9);\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Fenvar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foresoftware%2Fenvar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Fenvar/lists"}