{"id":15677844,"url":"https://github.com/eliasgcf/typeenv","last_synced_at":"2025-05-07T01:44:27.695Z","repository":{"id":43935210,"uuid":"273609550","full_name":"EliasGcf/typeEnv","owner":"EliasGcf","description":"⚙️  With this command you can create the Type definitions for an .env file","archived":false,"fork":false,"pushed_at":"2023-01-07T19:18:06.000Z","size":219,"stargazers_count":13,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T03:08:57.520Z","etag":null,"topics":["dotenv","env","oclif","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/EliasGcf.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-20T00:17:35.000Z","updated_at":"2023-03-07T16:00:02.000Z","dependencies_parsed_at":"2023-02-07T22:31:58.564Z","dependency_job_id":null,"html_url":"https://github.com/EliasGcf/typeEnv","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliasGcf%2FtypeEnv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliasGcf%2FtypeEnv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliasGcf%2FtypeEnv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliasGcf%2FtypeEnv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EliasGcf","download_url":"https://codeload.github.com/EliasGcf/typeEnv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252798561,"owners_count":21805876,"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","env","oclif","typescript"],"created_at":"2024-10-03T16:12:57.665Z","updated_at":"2025-05-07T01:44:27.669Z","avatar_url":"https://github.com/EliasGcf.png","language":"TypeScript","readme":"# typeEnv\n\ncreate a .d.ts file to your .env file\n\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\n![npm](https://img.shields.io/npm/v/@eliasgcf/type-env)\n \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/EliasGcf/typeEnv\"\u003e\n\n\u003cimg src=\"https://res.cloudinary.com/eliasgcf/image/upload/v1592694763/typeEnv/typeenv_fqz3wd.gif\" alt=\"Gif\" /\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#without-a-type-definition\"\u003eWithout a Type definition\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#with-a-type-definition\"\u003eWith a Type definition\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-getting-started\"\u003eGetting started\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-how-to-contribute\"\u003eHow to contribute\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## Without a Type definition\n\n\u003cimg src=\"https://res.cloudinary.com/eliasgcf/image/upload/v1592694748/typeEnv/Screenshot_at_Jun_20_20-09-35_xjehd8.png\" alt=\"Without d.ts\"\u003e\n\n## With a Type definition\n\n\u003cimg src=\"https://res.cloudinary.com/eliasgcf/image/upload/v1592694749/typeEnv/Screenshot_at_Jun_20_20-11-56_rlj6ov.png\" alt=\"With d.ts\"\u003e\n\n## ⚙️ Getting Started\n\n### Requirements\n\n- [Node.js](https://nodejs.org/en/)\n- [Yarn](https://classic.yarnpkg.com/) or [npm](https://www.npmjs.com/)\n\n### Instalation\n\n```bash\n$ yarn global add @eliasgcf/type-env\n# or\n$ npm install -g @eliasgcf/type-env\n```\n\n## ⚡ Usage\n\n### Path\n\n\u003e create the env.d.ts inside another folder: --path/-p\n\n```bash\n$ typeEnv --path=src/my-types\n```\n\n---\n\n### File\n\n\u003e change the default env file (.env): --file/-f\n\n```bash\n$ typeEnv --file .other.env\n```\n\n---\n\n### Show\n\n\u003e just show the results and not create the d.ts file: --show/-s\n\n```bash\n$ typeEnv --show\n```\n\n### Config\n\n\u003e You can now check the settings for each environment, be it with typescript or javascript.\n\n```bash\n$ typeEnv -c ts\n# or\n$ typeEnv -c js\n```\n\n## 🤔 How to contribute\n\n**Make a fork of this repository**\n\n```bash\n# Fork using GitHub official command line\n# If you don't have the GitHub CLI, use the web site to do that.\n\n$ gh repo fork EliasGcf/typeEnv\n```\n\n**Follow the steps below**\n\n```bash\n# Clone your fork\n$ git clone your-fork-url \u0026\u0026 cd typeEnv\n\n# Create a branch with your feature\n$ git checkout -b my-feature\n\n# Make the commit with your changes\n$ git commit -m 'feat: My new feature'\n\n# Send the code to your remote branch\n$ git push origin my-feature\n```\n\nAfter your pull request is merged, you can delete your branch\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\nMade with 💜 by Elias Gabriel 👋 \u0026nbsp;[See my linkedin](https://www.linkedin.com/in/eliasgcf/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliasgcf%2Ftypeenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliasgcf%2Ftypeenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliasgcf%2Ftypeenv/lists"}