{"id":23276274,"url":"https://github.com/dinoscapeprogramming/environment-reader","last_synced_at":"2025-10-18T08:25:33.051Z","repository":{"id":144663939,"uuid":"459272383","full_name":"DinoscapeProgramming/environment-reader","owner":"DinoscapeProgramming","description":"A simple environment reader using fs","archived":false,"fork":false,"pushed_at":"2022-02-25T08:40:23.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T17:28:37.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DinoscapeProgramming.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":"2022-02-14T18:08:06.000Z","updated_at":"2022-02-14T18:11:13.000Z","dependencies_parsed_at":"2024-03-30T23:15:11.796Z","dependency_job_id":null,"html_url":"https://github.com/DinoscapeProgramming/environment-reader","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/DinoscapeProgramming%2Fenvironment-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Fenvironment-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Fenvironment-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DinoscapeProgramming%2Fenvironment-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DinoscapeProgramming","download_url":"https://codeload.github.com/DinoscapeProgramming/environment-reader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478255,"owners_count":20945262,"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-12-19T21:30:18.495Z","updated_at":"2025-10-18T08:25:27.996Z","avatar_url":"https://github.com/DinoscapeProgramming.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Environment Reader\nA simple environment reader using fs\n\n## Get started\nFirst copy the file __environment-reader.js__ to your code. Now you're ready to use this package.\n\n## Introduction\n### Require the package\n```js\nconst env = require('./environment-reader.js');\n```\n\n### Get the whole content from a file\n```js\nenv('./text.txt')\n```\n\n### Get a specific line from a file\n```js\nenv('./text.txt', 0)\n```\n\n## Replit\nYes, you can add environment variables to your file. Only add this to your file:\n```\nprocess.env.test\n```\n\n## Note\nYou also can use this with any other file beside text files, but I think text files are the best solution for environment variables.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinoscapeprogramming%2Fenvironment-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinoscapeprogramming%2Fenvironment-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinoscapeprogramming%2Fenvironment-reader/lists"}